Website is not serving static files

Today I was setting up a new EPiServer CMS website on Windows Server 2012 Datacenter.

I've configured a database, IIS, gave full control to app pool identity user, etc.

Problem

When anonymous users are visiting the website, .css and .js files are not loaded.

If they log in to EPi, everything works fine.

I tried to access http://mydomain.com/static/main.js directly but EPiServer showed me a login page.

Hm… 

Solution

Solution was to give read permission to IUSR user group.

comments powered by Disqus