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

Forums / Deployment / Admin login not working public

Admin login not working public

5 posts, 1 answered
  1. bojanv
    bojanv avatar
    2 posts
    Registered:
    05 Dec 2006
    14 Feb 2010
    Link to this post
    Hi all!

    If this question was allready posted, please, redirect me to the solution. I searched the forum, but didnt find anything to solve the problem.

    I installed the latest Sifinity (currently trial, but have key) on production server. As i logged in admin part on the server (where sifinity is) everything is ok, but when i access it from another machine (not part of server domain), login is unsuccessfull. Even more, no error or information message is shown.

    I checked the installation instructions and knowledge base, but was unsuccessfull. Cause i think, that this is some small trick or some settings (i set the roles correctly as stated in setup guidance and also access - and authentication is set to Forms), could you please help me with some guidance or links?

    Thank you and all best,
    Bojan V.
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    25 Nov 2016
    14 Feb 2010
    Link to this post
    Hello bojanv,

    Check whether FormsAuthentication is enabled and there are no any domain or another restrictions. You can attach the project in Visual Studio and see what actually is going wrong in the Login form code behind ~/Sitefinity/Login.aspx.cs. Check whether Login1_LoggedIn event is accessed. There is a string variable redirectUrl which specify the relative path of the url where you should be redirected.

    Sincerely yours,
    Ivan Dimitrov
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
  3. bojanv
    bojanv avatar
    2 posts
    Registered:
    05 Dec 2006
    15 Feb 2010
    Link to this post
    Hi Ivan!

    Thank you for your response. FormsAuth is enabled and we didnt set any restrictions. Could you please elaborate what kind of restrictions do you have in mind?

    Unfortunately, this is a production machine, so  to install vs is not option. I can send you a project, if you wish.
  4. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    25 Nov 2016
    15 Feb 2010
    Link to this post
    Hi bojanv,

    If you can reproduce the problem on local host then you can send the project to us( provide us with external link, attach the project to this ticket or open bug report and attach the project there). I believe that the problem comes from your host server or you have not migrated all files. Sitefinity login form works fine at my end.

    All the best,
    Ivan Dimitrov
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
  5. BobTabor
    BobTabor avatar
    17 posts
    Registered:
    12 Dec 2007
    08 Aug 2010
    Link to this post
    I realize this is 6 months late, however for those who might be encountering the same issue, here's how I solved it.  In fact, I've seen manifestations of this in many different posts, but each time stated just a little bit differently.  If you are experiencing weirdness with login after pointing a real domain to your site, this might clear it up for you.

    The symptoms are that as you create a new site using the Sitefinity Project Manager, you can log into your site locally using a URL similar to:

    http://localhost/YOURSITENAME/Sitefinity/Login.aspx

    BUT when you then point IIS 7 to the folder:

    C:\Program Files\Telerik\Sitefinity3.7\WebSites\YOURSITENAME

    ... and, if it's a developer machine, setup your hosts to point 127.0.0.1 to http://www.YOURSITENAME.com ... then this no longer works:

    http://www.YOURSITENAME.com/Sitefinity/Login.aspx

    It will accept your credentials, but just refreshes ... no error messages, etc.  However, if you were to put in THE WRONG CREDENTIALS it will show you an error.

    How to fix:

    In your web.config, find the:

    <forms name=".ASPNET" loginUrl="~/sitefinity/login.aspx" protection="All" timeout="1440" path="/" />

    And change it to:

    <forms domain="YOURSITENAME.com" name=".ASPNET" loginUrl="~/sitefinity/login.aspx" protection="All" timeout="1440" path="/" />

    In other words, just add the domain="YOURSITENAME.com" and it should work.

    Good luck!
    Answered
Register for webinar
5 posts, 1 answered