I've recently received some ASP.NET application to test. I must run it on local server. I installed IIS with all components. I copied whole project to c:\inetpub\wwwroot. Catalog structure:


I suppose main file to run is Global.asax, but when i try to run localhost/.../global.asax I get error:

HTTP 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.

ASP.NET is completely new technology for me. I guess there is very easy solution ;)

3 Years
Discussion Span
Last Post by JorgeM

Copying the source to the web root is not really useful. You should put your project somewhere else, and then use the Publish option in Visual Studio to build a version for deployment on IIS.


Global.aspx is not intended for you to access via a web browser. There are certain files that the asp.net engine will not allow you to access via a browser. For example, *.config files cannot be either.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.