Link to home
Start Free TrialLog in
Avatar of purplesoup
purplesoupFlag for United Kingdom of Great Britain and Northern Ireland

asked on

Running an aspx application in iis 7

I am trying to get an aspx application running in iis 7/Vista and am having major problems.

I copy the application files to the IIS folder and make the folder an application. First problem - "cannot browse site" - this is because under "default document" aspx files are not listed by default - you get default.asp and index.html but no default.aspx - fine, I add it in.

Now I am getting Error 404.3 - Not Found

Description: The page you are requesting cannot be served because of the Multipurpose Internet Mail Extensions (MIME) map policy that is configured on the Web server. The page you requested has a file name extension that is not recognized, and is not allowed.

Error Code: 0x80070032
Notification: ExecuteRequestHandler
Module: StaticFileModule
Requested URL: http://localhost/asi.webroot/Default.aspx 

In other words, there is no "handler" defined for aspx pages. I need to manually add the mime type for aspx to tell IIS 7 how to process aspx pages.

This is madness - I must be doing something fundamentally wrong, I can't believe it should be as difficult as this. How can I get IIS 7 to work with aspx pages?
ASKER CERTIFIED SOLUTION
Avatar of asp_lha
asp_lha

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial