404.17 error - requested content appears to be script

ziggy234

New Member
I have a similar question to this one;
  • IIS 7.5
  • Server 2008
  • ASP.Net 4.0 web site
The error I get when trying to run the site is this:\[quote\] HTTP Error 404.17 - Not Found
The requested content appears to be script and will not be served by the static file handler. ... Most likely causes:
  • The request matched a wildcard mime map. The request is mapped to the static file handler. If there were different pre-conditions, the request will map to a different hander.
\[/quote\]Now here comes the weird part:THE WEIRD PARTThe weird part is that on the develop server -- which is similar in every aspect to the production server -- everything runs smoothly.Here's a list of things I cannot try, because I don't want to mess with the sever (it hosts many other sites):
  • Reinstalling .Net
  • Reinstalling IIS
  • Reinstalling anything
  • Running aspnet_regiis
Here's what I did try:
  • Republishing the site
  • Restarting the application pool
  • Changing the application pool to .Net 2.0 and back to .Net 4.0
  • Switching around between Integrated and Classic pipeline mode
  • Enabling 32-bit mode
  • Taking a look at Handler Mappings
Eventually I created a new application pool, and it sort of started working.
Q) "Sort of"?
A) Yes, sort of.Now the site only works when the (new) app pool is set to \[code\].Net 4.0\[/code\], \[code\]Integrated\[/code\],
and the site's Authentication has \[code\]ASP.NET Impersonation\[/code\] set to \[code\]Disabled\[/code\].Any change to these settings sets the server yelping "404.17" all over again.Q) What's wrong with that?
A) What's wrong with that is that I NEED ASP.NET Impersonation for the site to function properly.As always, your guidance is most needed.
 
Back
Top