• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2295
  • Last Modified:

How to configure static file handler in IIS 7 to properly handle .asp page

I'm developing an ASP.NET (4) Web app.
I have decided to switch from using the default development Web server (which comes with Visual Studio) and start using local IIS instance on my Windows 7 (Enterprise) PC.
Now my app would not start up properly. It gives me 404.3 error, stating the following:

Module      StaticFileModule
Notification      ExecuteRequestHandler
Handler      StaticFile
Error Code      0x80070032
Requested URL      http://localhost:80/DrManager/Default.asp
Physical Path      C:\Users\Administrator\Documents\Visual Studio 2010\Projects\DR Manager\DR Manager.Web\Default.asp
Logon Method      Anonymous
Logon User      Anonymous

HTTP Error 404.3 - Not Found
The page you are requesting cannot be served because of the extension configuration. If the page is a script, add a handler. If the file should be downloaded, add a MIME map. Static File Module Error
I have noticed, that the very first time upon switching the app would come up, but all subsequent times - just this error.

1 Solution
Classic ASP is not installed by default on IIS 7.5. As a result, the web server does not recognize nor have a handler for any file with an ".asp" extension, and sends you the 404.3 error. That's telling you it has no way of delivering that kind of file for you.

In Control Panel->Programs and Features->Internet Information Services->World Wide Web Services->Development Features, check the "ASP" box and click OK, then Windows will install it for you!

Hope that helps.


eugene_goldbergAuthor Commented:
Thank you!
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: MCSA MCSE Windows Server 2012

This course teaches how to install and configure Windows Server 2012 R2.  It is the first step on your path to becoming a Microsoft Certified Solutions Expert (MCSE).

Tackle projects and never again get stuck behind a technical roadblock.
Join Now