Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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
share|improve this question

1 Answer 1

up vote 8 down vote accepted

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?

share|improve this answer
    
Woops... I gave IIS_IUSRS full access to the folder and it's working now. –  Nathan Osman Apr 18 '11 at 1:28
    
How to set it up in IIS Express? and how come there is no IIS_IUSRS in my computer? –  Blaise Jul 21 at 20:46

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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