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.
🙂


![[Step by Step] Using Custom Connectors in Copilot Studio](https://rajeevpentyala.com/wp-content/uploads/2024/10/record-ezgif.com-video-to-gif-converter-7.gif)
Leave a Reply