More in this section
Forums / Bugs & Issues / Sitefinity Backend Message

Sitefinity Backend Message

The forums are in read-only mode. In case that you want to directly contact the Progress Sitefinity team use the support center. In our Google Plus group you can find more than one thousand Sitefinity developers discussing different topics. For the Stack Overflow threads don’t forget to use the “Sitefinity” tag.
4 posts, 0 answered
  1. Kaze
    Kaze avatar
    2 posts
    Registered:
    14 Jan 2013
    09 Sep 2014
    Link to this post

    My problem is, i dont have any user with profile access to backend and Sitefinity show me this:

    Image

     

    I dont get it, Testing User is not in my backend, but sitefinity say this.What can i do to solve this?

    Help me please.

    I been tried deleting the user and creating it again, doesn't work :/

  2. Vassil Vassilev
     Vassil Vassilev avatar
    308 posts
    Registered:
    21 Jan 2015
    12 Sep 2014
    Link to this post
    Hello Kaze,

    The easiest solution is to create an admin user trough code. You can use the following code snippet:
    var userManager = UserManager.GetManager("Default");
    System.Web.Security.MembershipCreateStatus status;
    userManager.Provider.SuppressSecurityChecks = true;
    var user = userManager.CreateUser("admin", "password", "admin@admin.com", "Question", "Answer", true, null, out status);
    user.FirstName = "FirstName";
    user.LastName = "LastName";
    userManager.SaveChanges();
     
    RoleManager roleManager = RoleManager.GetManager("AppRoles");
    roleManager.Provider.SuppressSecurityChecks = true;
    var role = roleManager.GetRole("Administrators");
    roleManager.AddUserToRole(user, role);
    roleManager.SaveChanges();

    Try to log in using the newly created user. If the message for maximum concurrent users appears, you can click "Force someone to logout" and logut all users you need.

    Hope this helps.

    Regards,
    Vassil Vassilev
    Telerik
     
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Sitefinity CMS Ideas&Feedback Portal and vote to affect the priority of the items
     
  3. Kaze
    Kaze avatar
    2 posts
    Registered:
    14 Jan 2013
    15 Sep 2014 in reply to Vassil Vassilev
    Link to this post

    Thanks for the reply, Vassil.

     

    I did it, but my problem is still there. 

    This user "TestingUser" don't have permission to visit the backend, he can't access but, when i tried to get in the backend appears that message.

    I don't get it.

    Thanks for the help.

  4. Vassil Vassilev
     Vassil Vassilev avatar
    308 posts
    Registered:
    21 Jan 2015
    15 Sep 2014
    Link to this post
    Hello Kaze,

    To which role this TestUser belongs? If he is assigned as Administrator, then the checkbox for "This user can access site backend" is neglected as all admin users have full access to both frontend and backend.

    Additionally, can you share with us which Sitefinity version you are using?

    Regards,
    Vassil Vassilev
    Telerik
     
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Sitefinity CMS Ideas&Feedback Portal and vote to affect the priority of the items
     
4 posts, 0 answered