I am developing a website in Visual Web Developer 2012 targeted for .net 4.0. The site works fine in VWD, but when I try to run it on IIS I get the error below. I can run apps on IIS 8 just fine using .NET 2.0, but not 4.0. Any ideas? I have tried tweaking
the AppPool settings but cannot find a solution.
HTTP Error 404.17 - Not Found
The requested content appears to be script and will not be served by the static file handler.
Most likely causes:
- The request matched a wildcard mime map. The request is mapped to the static file handler. If there were different pre-conditions, the request will map to a different handler.
Detailed Error Information:
<div id="details-left">
Module | StaticFileModule |
---|
Notification | ExecuteRequestHandler |
---|
Handler | StaticFile |
---|
Error Code | 0x80070032 |
---|
</div> <div id="details-right">
Requested URL | http://iframe.admissions.msmnyc.edu:80/admissionstatusv2.aspx |
---|
Physical Path | C:\Inetpub.MSM\iframe_admissions_msmnyc_edu\admissionstatusv2.aspx |
---|
Logon Method | Anonymous |
---|
Logon User | Anonymous |
---|
</div>