Search code examples
iisiis-7.5

IIS cannot display static content even with AppPool with my Identity


I have a website running on IIS with its own Identity with a Custom credential which is my computer account (that is administrator). When I try to load the page, the Asp.Net MVC application execute but not the Javascript, neither CSS files. I have 401.3 error. I have enabled the IIS request log and this is what I see.

The application pool is my custom one. The authentification is anonymous. The user from token is NT Authority\IUSR ... this is what I do not understand... how come it's not my credential?

enter image description here


Solution

  • To solve this issue I had to active the Static File Handler of IIS and I had to set in the basic setting a credential that has the read right of the folder instead of the default one.