0

... everything else (scripts, css, other pages) return a 404 error. This works on my DEV machine under IIS Express so I'm assuming I've configured IIS 7.5 incorrectly, but nothing leaps out at me. So all I get when navigating to the site is a couple lines of HTML, with no styling or javascript. Looks like a web page out of the 90's.

I have:

  • set up my own app pool for my application running integrated .NET 4
  • ensured the web.config has <modules runAllManagedModulesForAllRequests="true"> in the system.webServer element
  • re-installed .NET 4.5
  • installed the MVC4.0 runtimes to the GAC

What am I missing?

4
  • 1
    have you registered the version of .net you are using with the reg iis tool?
    – medina
    Apr 18, 2013 at 12:09
  • yes, that is what I meant by my third bullet. Apr 18, 2013 at 12:44
  • Means your handler mappings are messed up. Try reverting to default under "Handler Mappings" in IIS for the selected site. Apr 18, 2013 at 13:57
  • @dirt, this was ineffective. The problem persists. Apr 20, 2013 at 3:47

1 Answer 1

0

So it turns out that my core project was set to use .NET4 instead of .NET4.5, which caused this condition.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.