11

I added an ASP.NET MVC3 site to ISS (which was working fine in the debugger). When viewing the site in a browser, everything appeared to be working fine except that all of the CSS and JS files were returning a 404.

Here is the site in IIS Manager:

Other details:

  • OS: Windows Vista Home Premium 32-bit (with SP2)
  • IIS: 7.0.6000.16386
  • Visual Studio 2010 Express with SP1
Nathan Osman
  • 2,705
  • 7
  • 31
  • 46

1 Answers1

12

It sounds like a permissions error. Did you remember to add the IIS User IIS_IUSRS to the list of users that can access the files?

Josh M.
  • 667
  • 8
  • 21
Jacob
  • 9,114
  • 4
  • 44
  • 56