My situation is similar to Q 1851155:
The HTTP verb POST used to access path '/' is not allowed
(but that was with IIS 7; I am using VS 2008's built-in web server. If that is IIS 6 or 7 beneath the hood, I don't know how to get at it to configure it.)
My situation is likely similar to Q 758780:
The HTTP verb POST used to access path '/Membership/user/' is not allowed
(Which suggests a link re configuration. But again, I don't know how that relates to VS 2008's built-in web server, rather than an explicit IIS 6 or 7 configuration.)
My situation is not at all like Q 5238080:
The HTTP verb POST used to access path is not allowed
(I am explicitly using POST; that question relates to an indirect use via LinkButton, and does not appear to be this path issue.)
problematic code snippet from an .aspx page, in a web site with Virtual Path "/":
<form id="login" method="post" action="/login/"> ... </form>
Resulting error page:
Server Error in '/' Application. The HTTP verb POST used to access path '/login/' is not allowed. ...
This is on an up-to-date Windows 7 64-bit, with Visual Studio 2008 SP (Version 9.0.30729.1 SP), when debugging, using VS' built-in Web Server.
This case gives the error:
* When "Start Debugging" from VS 2008, using path "/login/".
That folder contains the single file "Default.aspx".
The following two cases work correctly:
* When "Start WITHOUT Debugging" from VS 2008, using path "/login/".
* When "Start Debugging", using path "/login/Default.aspx".
Therefore, I am having a problem when I specify the folder, and require the web server to infer the reference is to that folder's Default.aspx page. However, the problem ONLY occurs when DEBUGGING under VS 2008. (Launching from VS 2008 application, with my asp.net website solution loaded.)
QUESTIONS:
* Is VS 2008's built-in Web Server actually IIS 6 or 7? If so, how do I configure it?
* If not, Is there a way to tell VS 2008's built-in Web Server to work correctly when specifying a folder, rather than a file?
* If not, is there an alternate solution that can be downloaded (I did not renew my developer license, so I cannot download Microsoft subscription stuff at this time).
* Would renewing my license, and upgrading to VS 2010 help? If so, what specifically will I need to do to get that solution to work?