1

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

  1. Delete TEMP folder in App_Data and restart website in IIS
  2. Replicate database from staging to my local environment
  3. Restart website on IIS on staging and local
  4. Compare differences between staging and local only client dependency.config is different.
  5. Copy all of the website from staging to local including web.config (web.config points to staging database)
  6. 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.

4

1 回答 1

0

这有点令人困惑,但您可以检查一下:

  • 您在暂存 web.config 中的数据库连接是正确的;和
  • 暂存数据库的用户/登录名具有足够的权限,并分配给数据库

我知道你说 Safari 和 IE 工作正常,但只是为了涵盖基础知识,首先检查数据库连接是值得的。

于 2013-08-22T09:21:04.997 回答