Advertisements

Archive

Archive for September 6, 2014

HTTP Error 404.17 – hosting Service in IIS

September 6, 2014 Leave a comment

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.

HTTP Error 404.17

HTTP Error 404.17

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
Application Pool

Application Pool

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.

🙂

Advertisements