[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2117
  • Last Modified:

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

Greetings,
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.

-Eugene
StaticFileModuleError.png
StaticFileModuleError.png
0
eugene_goldberg
Asked:
eugene_goldberg
1 Solution
 
OklahomaDaveCommented:
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.

-David


0
 
eugene_goldbergAuthor Commented:
Thank you!
0

Featured Post

Veeam and MySQL: How to Perform Backup & Recovery

MySQL and the MariaDB variant are among the most used databases in Linux environments, and many critical applications support their data on them. Watch this recorded webinar to find out how Veeam Backup & Replication allows you to get consistent backups of MySQL databases.

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