Thursday, November 26, 2015

Unusual error - Sitecore CSS and JS disappearing

Had an issue with a client the other day that had me pulling out my hair in frustration, trying to troubleshoot. We had an environment setup with a base Sitecore v8 installation. Everything checked out properly. Could log on and publish the sample content so all was good.

Did a restart of the vm and suddenly when we refreshed the Sitecore admin panel all the CSS and JS code was getting 500 errors and you could not proceed to log in to the Sitecore admin.

Now when you browsed to the sample site home page you were presented with...



No windows log errors no event raised in Sitecore event log.

Then started the research.....

Are the compression settings somehow wrong? Nope

If I set the APP Pool to a know local administrator. This seemed to work.

Does the IUSR

Turns out a GPO rule has restricted the IUSR account and removed a single permission from a registry key HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\HTTP.

Going through this guide line by line was the only way to diagnose a specific permissions issue.