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

79% accept rate
feedback

1 Answer

up vote 5 down vote accepted

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

link|improve this answer
Woops... I gave IIS_IUSRS full access to the folder and it's working now. – George Edison Apr 18 '11 at 1:28
feedback

Your Answer

 
or
required, but never shown

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