Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Darren Wilson 238 posts 646 karma points
    Jun 01, 2016 @ 15:42
    Darren Wilson
    0

    Problems loggin in locally

    Hi folks,

    This is a new one for me - all of a sudden I can't access my admin account. I'm running the site locally using web matrix. Comparing existing sites with this I've noticed that the userNoConsole has been set to True - any ideas if this is what's caused this issue? I've tried to change it but iw won't allow me to do so. This is a dev site but I've done quite a lot of work on it so would prefer not to have to start-again so any help would be great!enter image description here

    The error message is: Login failed for user [email protected]

    Thanks in advance. Darren

  • Dennis Adolfi 1082 posts 6450 karma points MVP 6x c-trib
    Jun 02, 2016 @ 09:25
    Dennis Adolfi
    100

    Hi Darren.

    The userNoConsole=true usally means that your user as entered the wrong password x number of times and therfor been locked out.

    If you look in your logfiles (/Config/Logs) you will probobly see lines that look something like:

    "Login attempt failed for username xxxxx from IP address ::1, the user is locked"
    

    What do you mean when you say:

    I've tried to change it but iw won't allow me to do so

    You should be able to change this to false.

    https://our.umbraco.org/forum/umbraco-7/using-umbraco-7/55221-Unlock-a-user

    Solution is to:

    1. change the "userNoConsole" field to false for your user in the "umbracoUser" database
    2. "Touch" your web.config (add a space and save it) or restart appPool

    Best of luck to you!!!

  • Darren Wilson 238 posts 646 karma points
    Jun 02, 2016 @ 10:02
    Darren Wilson
    1

    Hi Dennis,

    Thanks for getting back to me!

    Sorry, bad typing! What I meant to say is that I can't change the userNoConsole field in the Web Matrix database editor - I can change the text within the field and confirm, but when I refresh it reverts to True. Very odd!

    Thanks Darren

  • Dennis Adolfi 1082 posts 6450 karma points MVP 6x c-trib
    Jun 02, 2016 @ 10:10
    Dennis Adolfi
    0

    Hi again Darren.

    That is strange, you sholud be able to change it like any other SQL db. Could you try with some other software? SQL Server, or if its a CE database, there is a really good software called CompactView you can use to open it. https://sourceforge.net/p/compactview/home/Home/

    Or if you dont want to deal with all the hazzle, you can just install this package: https://our.umbraco.org/projects/developer-tools/umbraco-admin-reset/ which will set the Username to Admin and password to Admin1234!

    I Really hope this works out for you, let me know if there is any other way i can help.

  • Darren Wilson 238 posts 646 karma points
    Jun 02, 2016 @ 10:56
    Darren Wilson
    0

    Hi Dennis,

    Tried the plugin and that didn't work either :-(

    Will try that CompactView software next.

    Darren

  • Dennis Adolfi 1082 posts 6450 karma points MVP 6x c-trib
    Jun 02, 2016 @ 11:17
    Dennis Adolfi
    0

    Im sorry to hear that.

    Yes try the CompactView, its sholud do the trick!

  • Dennis Adolfi 1082 posts 6450 karma points MVP 6x c-trib
    Jun 02, 2016 @ 15:37
    Dennis Adolfi
    0

    How did it go, did it work out?

  • Darren Wilson 238 posts 646 karma points
    Jun 02, 2016 @ 15:44
    Darren Wilson
    1

    Hi Dennis,

    Not tried it yet - will let you know later.

    Darren

  • Dennis Adolfi 1082 posts 6450 karma points MVP 6x c-trib
    Jun 02, 2016 @ 15:49
    Dennis Adolfi
    0

    Oh sorry! Got to curious! :)

  • Darren Wilson 238 posts 646 karma points
    Jun 02, 2016 @ 15:50
    Darren Wilson
    1

    Thanks for your help!

    D

  • Dennis Adolfi 1082 posts 6450 karma points MVP 6x c-trib
    Jun 02, 2016 @ 15:54
    Dennis Adolfi
    0

    Off course, had the same issue a few weeks ago where a client could'nt log in anymore and I could'nt figure out the problem. Turned out that it was the userNoConsole, and by changing it to false/0 everything worked out. Hopefully this works out for you as well.

  • Darren Wilson 238 posts 646 karma points
    Jun 02, 2016 @ 16:02
    Darren Wilson
    1

    I've had a similar thing too, but this was on a live site using SQL Server, just changed the noUserConsole to 0 and all was well - this one, however, is running locally using SQL CE, it just won't save the field. I've ended up rebuilding the site (I was only at the start anyway), but it will be useful to know how to do this for the future. I will download that software and give it a go just to see what happens!

    Thanks again for your help - I'll let you know how I get on!

  • Dennis Adolfi 1082 posts 6450 karma points MVP 6x c-trib
    Jun 02, 2016 @ 16:12
    Dennis Adolfi
    0

    Awsome, looking forward to it!

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies