Recently when I hosted a web service project in IIS and browse that, I got below error.
HTTP Error 404.17 – Not Found
The requested content appears to be script and will not be served by the static file handler.

Fix :
- In my case I missed a simple step, My Web service Application Pool set to .Net 2.0
- Since I built web application .Net 4.0 framework, changing Application Pool .Net Framework to v4.0 solved my problem

Note :
- Sometimes issue might caused by missing of ASP.Net framework.
- So install ASP.Net framework by running aspnet_regiis.exe –I command using Visual Studio Command Prompt.
🙂



Leave a comment