I deployed an asp.net website built in framework 4.0 in IIS 7 and got error with code 404.17-Not Found: the request content appears to be script and will not be served by the static file handler as shown in the picture below:
How to solve HTTP Error 404.17-Not Found in IIS on Localhost:
In previous article I explainedhow to install IIS 7 on Windows 7, How to Deploy website in IIS and how to create SSL certificate in IIS7.
Step 1: In IIS Click on Application Pools in Application Pools look for the website name you added in IIS. In my case site name is “test” for which I got the HTTP Error 404.17 while browsing the site in browser as shown in diagram below:
Step 2: Right click on website and select Advanced Settings as shown in the picture:
Step 3: In Advanced Settings under General change .Net Framework Version from v 2.0 to v4.0 and click on OK button as shown in picture below:
Step 4 : Right click on Connection Name and then Refresh as shown below:
Step 5: Now browse the website as shown in the picture below:
The error 404.17 will be removed after following the steps mentioned above.
Other Related Posts:
1. Solve HTTP Error 403.14 -Forbidden in ASP.Net
2. How to Publish website in IIS
3. How to Create SSL Certificate in IIS
1. Solve HTTP Error 403.14 -Forbidden in ASP.Net
2. How to Publish website in IIS
3. How to Create SSL Certificate in IIS