Webmasters Stack Exchange is a question and answer site for pro webmasters. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Normal HTML pages work fine on an IIS7 server as do ASP pages. However when I try to add a HTML form and after clicking on the submit button, I receive the error:

The HTTP verb POST used to access path '/FormServer/Mig/_vti_bin/shtml.dll/admissions/askseaaggie.htm' is not allowed.

Currently the only solution I know is to rebuild the entire form using ASP.NET markup.

share|improve this question
up vote 0 down vote accepted

The question is a bit confusing, but I'll try and answer it as I understand it.

HTML pages don't process form data (unless you are using the GET form method, in which case you can extract values from the querystring), so you would have to point the form's 'action' attribute at a dynamic server page. Assuming (from your mention of it) that this is ASP, then you would set the action value like so:

<form method="post" action="myserverpage.asp">
<input name="firstname" type="text"/>
<input name="lastname" type="text"/>

Then you use a server-side script (e.g. in 'myserverpage.asp') to access the POSTed form values. What you do with them is up to you, but a simple example in classic ASP (as opposed to .Net) would be something like:


Which would render the two values back to the client's browser.

So, in summary, the HTML page's form POSTs (i.e. submits) the two values to the 'action' page, whereupon the ASP retrieves the POSTed values and responds by writing them out to the client.

If this isn't working, it means you haven't correctly installed ASP on IIS7 (it is off by default), follow these instructions for your OS:


(Basically, enable 'ASP' in control panel>turn features on/off>windows features)

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.