+1-888-365-2779
Try Now
More in this section

Forums / Deployment / problems logging in with IE

problems logging in with IE

11 posts, 0 answered
  1. Nick
    Nick avatar
    91 posts
    Registered:
    04 Aug 2008
    16 Oct 2009
    Link to this post
    Hi all!

    The following problem has raised it's ugly head causing confusion amongst the business users of the CMS. We recently moved all our installations of CMS to a new set of servers - we took direct copies of the entire file structure and database, placed the file structure on the new server, set up IIS accordingly and pointed the web.config to the new DB - and all appeared to be working fine from my perspective (as a habitual firefox user!)

    But i received reports from the business complaining they could not log in, suspecting their passwords had changed or something similar. But when i tried i could log in under their credentials (again through firefox). It didn't take long to realise this problem was based around using IE, so as a temporary workaround i told everyone to use firefox from now on (bless their cotton socks for not using it in the first place!)

    When a log in is attempted in IE, the form posts as expected but no action appears to be taken, no complaint of invalid credentials or the likes - i suspect this may be JS based or perhaps something to do with settings in IE? i cannot test this locally as i do not have a problem when doing the same on my local machine.

    So i was wondering, any idea why this might suddenly be the case, given that as i mentioned the server has changed but nothing else has, the environment is a carbon-copy of the previous one.

    Any help would be much appreciated, the business people are always hesitant to move from their cosy world of IE haha :-)

    thanks,
    Nick

  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    25 Nov 2016
    20 Oct 2009
    Link to this post
    Hi Nick,

    Most probably the redirect to the dashboard is not preformed. Could you try to enter your credentials and click login button. Then when the page refreshes try to access the backend directly by typing "domain/Sitefinity/Admin/Default.aspx". I tried to reproduce the behavior using IE8, but I was correctly redirected. Also make sure that the problematic users have enabled cookies for their browsers Tool>>->Internet Options>>Privacy>>Tick Override Automatic Cookie Handlng>>Accept or Prompt First-party Cookies, Accept or Prompt Third-party Cookies

    Kind regards,
    Ivan Dimitrov
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  3. Nick
    Nick avatar
    91 posts
    Registered:
    04 Aug 2008
    20 Oct 2009
    Link to this post
    i have tried what you discussed, but still no avail!

    This problem occurs with any and all who attempt to log in on these new instances, not just a sub-set of users. The strange thing is that it is unlikely to be any specific setting in IE, because on the old instance (and a number of other instances) logging in works perfectly in IE. This problem is confined to the new instances (which as i mentioned, are direct copies of previous instances) on specific servers - that is, there are two separate servers housing these new instances and the problem is present on both of them, but not the server the copies were taken from.

    I must mention we are using v3.2 SP2.

    Thanks,
    Nick
  4. Radoslav Georgiev
    Radoslav Georgiev avatar
    3370 posts
    Registered:
    01 Feb 2016
    23 Oct 2009
    Link to this post
    Hello Nick,

    Thank you for getting back to us.

    Can you make sure that when you were moving your sites you have enabled Forms Authentication on the new instances in IIS (See attached image for authentication settings in IIS0. This might cause what you are experiencing.

    Sincerely yours,
    Radoslav Georgiev
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  5. Nick
    Nick avatar
    91 posts
    Registered:
    04 Aug 2008
    23 Oct 2009
    Link to this post
    Thanks for your reply :-)

    Would this explain why firefox works correctly and IE doesn't though?

    Also, where would i find this setting in IIS6 (as we do not have IIS7)?

    I will get our network admins to look into this as soon as the above have been answered.

    Thanks again!
  6. Radoslav Georgiev
    Radoslav Georgiev avatar
    3370 posts
    Registered:
    01 Feb 2016
    23 Oct 2009
    Link to this post
    Hello Nick,

    Well this setting does not exist in IIS 6.0. IIS 7.0 has it because it is integrated with ASP.NET. Please check your web.config if the following configuration is the same:
    <forms name=".ASPNET" loginUrl="~/sitefinity/login.aspx" protection="All" timeout="1440" path="/" />

    I have tested the login on Sitefinity 3.2 SP2 with IIS 6 and using IE 7.0 and there were no problems logging in.

    Sincerely yours,
    Radoslav Georgiev
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  7. Nick
    Nick avatar
    91 posts
    Registered:
    04 Aug 2008
    23 Oct 2009
    Link to this post
    our web.config lists the configuration as identical to that above.

    as i have mentioned, the problem doesn't seem to be with IE itself, but the combination of this installation and IE (that includes v7 & v8). IE will work fine with our QA and dev environment, but not our live CMS installations - even though the QA environment is a direct copy of live.

    This is certainly a perplexing problem!
  8. Nick
    Nick avatar
    91 posts
    Registered:
    04 Aug 2008
    27 Oct 2009
    Link to this post
    i have noticed some differences between a server which works with IE and one that doesn't.

    when i visit the server which does allow me to login in using IE @ http://functional-server/sitefinity the url gets appended with "/login.aspx"

    when i vist the server which doesn't allow me to login using IE @ http://disfunctional-server/sitefinity the url gets appended with "/login.aspx?ReturnUrl=%2fsitefinity%2fDefault.aspx"

    don't know whether this will help with the diagnosis at all, but it's another strange difference that has manifested itself inexplicably!

    thanks again,
    Nick
  9. Radoslav Georgiev
    Radoslav Georgiev avatar
    3370 posts
    Registered:
    01 Feb 2016
    27 Oct 2009
    Link to this post
    Hi Nick,

    Thank you for getting back to me.

    Can you try and investigate where is this return URL coming from. We have tried to append the query string to our login pages and what happens is that the form authenticates us but it keeps showing the login page. Then we just simply type in for example http://localhost/Blank37SP1/en/Sitefinity/Admin/Default.aspx and properly navigate to the dashboard page.

    Regards,
    Radoslav Georgiev
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  10. Nick
    Nick avatar
    91 posts
    Registered:
    04 Aug 2008
    27 Oct 2009
    Link to this post
    I cannot work out where this return url is coming from. I have looked at the source code for the login page and there appears to be nothing in there.

    Also, if i follow the actions you have discussed, i still cannot access the dashboard, it just takes me back to the login page again.

    this return url is also appended to the url even with firefox - so it is strange that it works in one and not the other! Perhaps this is a problem with javascript? it is the only thing i can think of which would differ between the browsers which could potentially cause such a problem.

    thanks again,
    Nick
  11. Radoslav Georgiev
    Radoslav Georgiev avatar
    3370 posts
    Registered:
    01 Feb 2016
    30 Oct 2009
    Link to this post
    Hello Nick,

    Thank you for getting back to me.

    Can you please check if you have any url rewriting tools in your web.config or set anywhere else. This seems like the only reason left that this will get attached to the query string. If this does not help would you be able to zip this project up together with a db back and send it over in a support ticket so that we can take a look at it locally and be able to provide better answers.

    Greetings,
    Radoslav Georgiev
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Register for webinar
11 posts, 0 answered