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

1 Answer 1

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?

3
  • Woops... I gave IIS_IUSRS full access to the folder and it's working now. Apr 18, 2011 at 1:28
  • 3
    How to set it up in IIS Express? and how come there is no IIS_IUSRS in my computer?
    – Blaise
    Jul 21, 2014 at 20:46
  • Like @Blaise I'd like to know how to manage IIS users with IIS Express.
    – Antoine
    Apr 1, 2015 at 14:32

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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