I seem to be coming across an issue with logging into the Umbraco cms backoffice. Each time after having entered the correct username and password, Umbraco redirects me back to the login page. This happens in my staging environment but works fine on all browsers in my local environment
The url on my address bar is as follows in my staging environment after the redirection:
http://www.somewebsiteurl.com/umbraco/login.aspx?redir=%2fumbraco%2fumbraco.aspx
This gives me a 200 OK status.
I couldn't determine what the cause of this was, and so decided to come up with the following check list as a process of elimination.
So my scenario was as below:
- Does it work in other browsers? IE and Safari but not Chrome and FireFox
- Any messages in the log? No errors seen with authentication and authorization
- Page is reloaded without any errors? No
- Is the database down by any chance? No
- Any javascript errors? No http://www.somewebsiteurl.com/umbraco/login.aspx?redir=%2fumbraco%2fumbraco.aspx gives me a 200 OK. This happens for me on my staging environment.
My local environment works just perfectly fine. I have tried to perform the following on the staging environment
- Delete TEMP folder in App_Data and restart website in IIS
- Replicate database from staging to my local environment
- Restart website on IIS on staging and local
- Compare differences between staging and local only client dependency.config is different.
- Copy all of the website from staging to local including web.config (web.config points to staging database)
- Ensure that date and time settings are identical between the two environments Although the language settings for the date and time clock was different. (This was referring to a post here, http://www.stackoverflow.com/questions/9587048/when-logging-into-the-umbraco-5-back-office-using-chrome-or-ie-i-get-redirected)
Based on all the steps above,
I can login normally without any redirection issues on all browsers in my local environment. However, the staging environment gives me this issue.
Staging environment - cannot login via Chrome and FF but IE and Safari works
Can anyone please help??
The version of Umbraco I am using is 6.0.7.