3

i am trying to run my asp.net application in vs.net 2010 but i am getting an error?:

"HTTP Error 404.17 - Not Found

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

how can i fix this?

user603007
  • 11,416
  • 39
  • 104
  • 168
  • to be clear are you running it in IIS 7 from visual studio? – kmcc049 Sep 02 '11 at 01:32
  • Several solutions have been found here : [stackoverflow](http://stackoverflow.com/questions/87107/how-do-i-fix-404-17-error-on-win-server-2k8-and-iis7 "stackoverflow") – Eric Bonnot Mar 09 '12 at 09:42

1 Answers1

3

got it working:

run aspnet_regiis -i in C:\Windows\Microsoft.NET\Framework\v4.0.30319

user603007
  • 11,416
  • 39
  • 104
  • 168