Copied to clipboard

Flag this post as spam?

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


  • Rick 92 posts 278 karma points
    Dec 14, 2012 @ 12:13
    Rick
    0

    Error creating new user in Umbraco UI

    Hi,

    I've scoured the forum for any others who may be having this problem and can't seem to see any...

    I'm seeing some errors in the database logs (umbracoLog) when creating new users in the Umbraco UI. When creating a new user, it prompts me to insert a name for the user, however when I click "Create" - nothing happens - I've tried reloading nodes and still nothing.

    The errors I'm seeing in the DB are:

    logHeader    logComment
    Debug            return:
    Debug            Object reference not set to an instance of an object.
    Error               Failed to create the user. Error from provider: ProviderError

    As an added dynamic to the issue I'm having; I can successfully create Members but just not Users!

    Can anyone help with this frustrating issue?

    Many thanks in advance,

    Rick

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Dec 15, 2012 @ 12:54
    Jan Skovgaard
    0

    Hi Rick

    What version of Umbraco are you using? And has this just started happening? Has the installation been upgraded recently? Or have you made some custom modifications to the core?

    /Jan

  • Rick 92 posts 278 karma points
    Dec 17, 2012 @ 09:42
    Rick
    0

    Hi Jan,

    Apologies I should have put this on my OP ... it's Umbraco 4.9.1 and within the past few weeks it has started happening - it hasn't been upgraded, it is a new installation of 4.9.1.

    There have been some custom modifications to the core but in a separate project which is compiled into a dll. Even after temporarily removing this dll from the /bin folder in the Umbraco project I am still seeing the issue.

    Having searched for anything relating to the errors in the logs there is still nothing out there.

    Thanks
    Rick

     

  • Rick 92 posts 278 karma points
    Dec 17, 2012 @ 11:38
    Rick
    0

    Hi,

    After a fresh pair of eyes on a Monday morning... I followed these steps which helped me figure out the problem:

    - Obtained all the dll files from 4.9.1 and put them in my /bin folder (I took a copy of my dlls first!) - (the problem still persisted).

    - Created a blank database and pointed this at my project (the problem still persisted) - therefore, ascertained it was a coding issue and not a DB issue.

    - Downloaded a fresh version of 4.9.1 and put that web.config file in my folder structure (I took a backup of my web.config first) - the problem was then fixed!

    - I then used version compare software to compare my original web.config file to the fresh 4.9.1 web.config file - this is what I found:

    <add key="umbracoDefaultUIFanguage" value="en" /> instead of <add key="umbracoDefaultUILanguage" value="en" />

    It appears that during the build, I've attempted to do a search in web.config and with my sausage fingers I've hit "SHIFT F" ...

    My colleagues are now buying me this for Christmas: http://tinyurl.com/cb9dmvy

     ...and don't I feel one!

    Apologies for wasting time, but hopefully these steps will help someone else - although perhaps the exception that was logged in the DB could be a bit more specific?

    Many thanks,

    Rick

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Dec 27, 2012 @ 00:43
    Jan Skovgaard
    0

    Hi Rick

    Glad to hear you figured it all out - I would like to recommend that you upgrade to 4.11.1 if possible though since there is a bug with emptying the recycle bin in 4.9, which has been solved in later releases. There also is an issue with using the "Rollback" option in the context menu.

    /Jan

Please Sign in or register to post replies

Write your reply to:

Draft