asp.net - The HTTP verb POST used to access path '/' is not allowed -


Text after "

Full error:

  Server error in the '/' application The HTTP verb phrase used to access the path '/' is not allowed Description: An uncontrolled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where the code originated from it. Exception Details: System.Web.HttpException: HTTP verb used to access path '/' are not allowed to post source error had occurred an unrestricted exception during the execution of the current web request. The information about the origin and location of the exception can be identified using the exception stack trace below. Stack trace: [HttpException (0x80004005):. HTTP verb POST used to access path do not allow '/'] System.Web.DefaultHttpHandler.BeginProcessRequest (HttpContext context, AsyncCallback callback, object state) 2,871,966 System.Web.CallHandlerExecutionStep. System.Web.HttpApplication.IExecutionStep.Execute () is 8,679,410 System.Web.HttpApplication.ExecuteStep (IExecutionStep step, Boolean & amp; completedSynchronously) 155  

Honestly, I do not I am sure I am where did the error I run visual Studio 2008 through the virtual server I just put a button:

  & lt; Asp: Button ID = "btnRegister" runat = "server" Text = "Register" CssClass = "bt_register" onclick = "btnRegister_Click" / & gt;  

On the login user control, the onclick event is just a simple response. Pre

  response. Redirect ("~ / register.aspx");  

Project debugging, so it is not even full use of the btnRegister_Click method. I'm not sure where to debug this error even with any information, any information will help you. I can post all the code, but as I said, I am sure where this error is also being thrown on I'm not. In

Edit

button in the Click event is not anything I got rid of the method and onclick parameter on the aspx page is still the same error Coming with

Problem found

OK, this is for a school project and it has a group project. Some of my groups thought that it would be a good idea to wrap a form tag around this area that is asking to post. This is a difference with modification on Google code.

Are you writing the URL again? It appears that there are problems with URL reconstruction.

You have to delete the '*' mapping of '*' aspnet_isapi.dll in your IIS settings.


Comments

Popular posts from this blog

c# - How to capture HTTP packet with SharpPcap -

php - Multiple Select with Explode: only returns the word "Array" -

php - jQuery AJAX Post not working -