Virtual Happy Hour this month, Jun 28, we'll be getting a sneak preview at our soon to launch SaaS CMS!

Try our conversational search powered by Generative AI!

Pages/Resources Redirect to login screen



I have a site that has just been deployed to a new IIS7 server.

When I try and access anypage or resource (CSS file for example),I am redirected to my logon page.

Once I logon, I can access and view all pages/files correctly!

Anyone know what may be causing this please?

May 24, 2011 11:08


if the files are located in the webfolder check accessrights on the files, if they are in a vpp, check accessrights there

May 24, 2011 11:33

Thanks Anders,

Do you mean check the folder permissions?
Or, would it be a setting in web.config/episerver.config?


May 24, 2011 11:35

if you have problem getting /test.gif check test.gif inside the webfolder, guess the IIS user dont have read access

May 24, 2011 11:37

the IISUser has got full permissions on all folders in the site.

I tried added "Everyone" also, but still have the same issue.

Example file is /templates/styles/basic.css

The folder and file all have permissions set.

May 24, 2011 11:42

Has Anonymous Authentication been enabled on the site in IIS?

May 24, 2011 11:55

Anonymous authentication is not enabled in IIS.
We have Basic Authenticaiton enabled however.

On the staging server (which this is) we require a network username/password prompt before the site is served.
This works fine on the old IIS6 box..

I've tried playing around with the Autehnicaiton settings. This has enabled me to get the site loading correctly, however, I can now not get to the logon page and CMS (I get the network prompt, but it won't accept my username/password) 

May 24, 2011 12:04

Could I ask why you are using Basic Authentication? I would assume Forms authentication would do the trick (with Anonymous Access disabled). 

May 24, 2011 15:35

Requirment of client to lockdown staging site with network login prompt. 

All their sites must do this.

May 24, 2011 15:37

Then I think you need to add the EPiServer.Security.BasicAuthentication module to the list of http modules.

May 24, 2011 15:44
This thread is locked and should be used for reference only. Please use the Episerver CMS 7 and earlier versions forum to open new discussions.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.