Click here to Skip to main content
15,902,938 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
When I publish a simple website with asp.net 4.0 on my pc IIS 7 (windows 7),during browsing it from IIS
instead of default page I Encounter the following error
Quote:
HTTP Error 404.17 - Not Found

The requested content appears to be script and will not be served by the static file handler.

what I have to do for solving that.
I have used regiis to reinstaling asp.net 4.0 but it did not work
Posted
Updated 8-Jun-14 16:33pm
v2
Comments
karthik Udhayakumar 8-Jun-14 16:12pm    
Did you check if your application's framework version and app pool's setting is same (i.e) 4.0 ?
DamithSL 8-Jun-14 22:34pm    
have you try these[^]?

1 solution

Hello freind, please run "aspnet_regiis -i" in C:\Windows\Microsoft.NET\Framework\v4.0.21006

Let me know if you need more details.

-DD
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900