When I create a Asp.net app and flip the appPool to “ASP.NET v4.0 Classic” it fails with the following error:
HTTP Error 404.17 – Not Found
The requested content appears to be script and will not be served by the static file handler.
After some searching it seems to be the handler not mapping correctly for the Classic mode but I can’t find out where or how to fix that.
I have the full .Net 4.0 install with VS2010 and the app works fine if I flip the appPool to Integrated. Also, it’s a Windows 7 machine (I’m having the same problem on a Vista box). Thanks in advance.
Andy
I would start by calling aspnet_regiis.exe from the .net 4.0 directory.
Also you can run the following command to see the list of handlers that are configured for your server:
You should see the asp.net page factory, something like (in a 64-bit machine you should see them twice):