Copied to clipboard

Flag this post as spam?

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


  • leeatkinson 33 posts 44 karma points
    Oct 20, 2010 @ 18:20
    leeatkinson
    0

    Updated v4 -> v4.5 but members cannot login

    I cannot log into my website as a end user (a 'member') after upgrading Umbraco to v4.5.

    I have tried resetting the passwords, but it still doesn't work.

  • Dirk De Grave 4541 posts 6021 karma points MVP 3x admin c-trib
    Oct 20, 2010 @ 18:28
    Dirk De Grave
    1

    Probably because the web.config now specifies to store password in "Hashed" format rather than "Clear". Check the membership provider and set it to the same value as your old website's web.config

    If you need to hash password, there's someone who's written some code to change passwords using a batch console app (use with care!)

     

    Cheers,

    /Dirk

  • leeatkinson 33 posts 44 karma points
    Oct 20, 2010 @ 18:33
    leeatkinson
    0

    Hi Dirk - sorry, I should have said that I did try hashing the passwords using that console app, but that doesn't help.

     

    Lee

  • Dirk De Grave 4541 posts 6021 karma points MVP 3x admin c-trib
    Oct 20, 2010 @ 18:36
    Dirk De Grave
    0

    Hmm, strange, but next step would be to either debug (if you can), or profile your sql to check what's going wrong. Frankly, currently out of ideas...

     

    Cheers,

    /Dirk

  • Dirk De Grave 4541 posts 6021 karma points MVP 3x admin c-trib
    Oct 20, 2010 @ 18:40
    Dirk De Grave
    0

    Any other changes except for umbraco version? .net version? Seems password hashing is quite different when changing from 3.5 to 4.0 (see this link)

  • leeatkinson 33 posts 44 karma points
    Oct 20, 2010 @ 18:50
    leeatkinson
    0

    I moved from .NET 3.5 to 4 at the same time (I've also moved to a new server).

  • leeatkinson 33 posts 44 karma points
    Oct 20, 2010 @ 23:33
    leeatkinson
    0

    I've resolved the problem.

    I was using a ControlAdapter to re-format the Login control without a HTML table. As is it now ASP.NET 4, I can do it without the adapter using RenderOuterTable and using the Templates.

    Thanks for your help.

  • Kris Janssen 210 posts 569 karma points c-trib
    Oct 21, 2010 @ 02:53
    Kris Janssen
    0

    Just to double check: the problem was not in the hashes generated by the console app then? Because if that piece of code would be causing issues I'd have to add proper warnings/notifications to the original post. Although I thought I double checked the code repository for the algorithm that is currently used...

  • leeatkinson 33 posts 44 karma points
    Oct 21, 2010 @ 15:55
    leeatkinson
    0

    Hi Kris

    I can confirm that the console app was not the problem - it worked fine.

    Thanks

     

    Lee

Please Sign in or register to post replies

Write your reply to:

Draft