The HTTP verb POST used to access path '/' is not allowed
<p>The entire error:</p>

<pre><code>Server Error in '/' Application.

The HTTP verb POST used to access path '/' is not allowed.
Description: An unhandled exception occurred during the execution of the current 
web request. Please review the stack trace for more information about the error 
and where it originated in the code.

Exception Details: System.Web.HttpException: The HTTP verb POST used to access
path '/' is not allowed.

Source Error:

An unhandled exception was generated during the execution of the current web 
request. Information regarding the origin and location of the exception can be
identified using the exception stack trace below.

Stack Trace:

[HttpException (0x80004005): The HTTP verb POST used to access path '/' is not allowed.]
System.Web.DefaultHttpHandler.BeginProcessRequest(HttpContext context, AsyncCallback callback, Object state) +2871966
System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +8679410
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&amp; completedSynchronously) +155
</code></pre>

<p>To be honest, I'm not even sure where the error came from. I'm running Visual Studio 2008 through the Virtual Server. I just put a button:</p>

<pre><code>&lt;asp:Button ID="btnRegister" runat="server" Text="Register" 
                            CssClass="bt_register" onclick="btnRegister_Click" /&gt;
</code></pre>

<p>On a login user control, the onclick event is just a simple response.redirect</p>

<pre><code>Response.Redirect("~/register.aspx");
</code></pre>

<p>Debugging the project, it isn't even hitting the btnRegister_Click method anyway. I'm not sure where to even begin with debugging this error. Any information will help. I can post all the code I have, but like I said, I'm not sure where this error is even being thrown at.</p>

<p><strong>Edit</strong></p>

<p>It has nothing at all to do with the button click event. I got rid of the method and the onclick parameter on the aspx page. Still coming up with the same error</p>

<p><strong>problem found</strong></p>

<p>Okay so this is for a school project and its a group project. Some one in my group thought it would be a good idea to wrap a form tag around this area telling it to post. Found it doing a diff with a revision on Google code.</p>
