Copied to clipboard

Flag this post as spam?

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


  • Roberto Bianchi 132 posts 437 karma points c-trib
    Oct 12, 2017 @ 13:22
    Roberto Bianchi
    0

    Unable to login after upgrade to 7.7.2

    Hello, I'm not able to upgrade my Umbraco local version (7.6.4) 'cause I cannot login to the administration area.

    I tried all that was recommended in the forum:

    • change "useLegacyEncoding" on web.config to true
    • set "EnablePropertyValueConverters" on config/umbracoSettings to false
    • reset the encrypted password using the db
    • tried to use the "Forgotten password" functionality

    Nothing of these step are working.

    If I try to login I receive this error:

    POST http://localhost:772/umbraco/backoffice/UmbracoApi/Authentication/PostLogin 400 (Bad Request)
    

    If I try to use the Forgotten password:

    POST http://localhost:772/umbraco/backoffice/UmbracoApi/Authentication/PostRequestPasswordReset 500 (Internal Server Error)
    

    What can I do?

  • Roberto Bianchi 132 posts 437 karma points c-trib
    Oct 12, 2017 @ 14:28
    Roberto Bianchi
    102

    I found the problem: I've to leave the tag "UsersMembershipProvider" on the old Web.Config while upgrading.

    This is the full code of the tag:

    <add name="UsersMembershipProvider" type="Umbraco.Web.Security.Providers.UsersMembershipProvider, Umbraco" minRequiredNonalphanumericCharacters="0" minRequiredPasswordLength="10" useLegacyEncoding="true" enablePasswordRetrieval="false" enablePasswordReset="false" requiresQuestionAndAnswer="false" passwordFormat="Hashed" allowManuallyChangingPassword="false" />
    
  • Francielle 65 posts 278 karma points
    Oct 18, 2017 @ 18:24
    Francielle
    0

    Hi Bob, I am facing the exact same problem.

    How did you upgrade it? Did you leave the web.config from 7.6.4 during the upgrade or have you changed to the 7.7.2 webconfig?

  • Roberto Bianchi 132 posts 437 karma points c-trib
    Oct 19, 2017 @ 07:18
    Roberto Bianchi
    0

    Hi Francielle,

    no, I've used a tool for compare the previous and the new web.config.

    Then I've made the correct changes ;)

  • Francielle 65 posts 278 karma points
    Oct 19, 2017 @ 10:05
    Francielle
    1

    I fixed my problem. On my /config/trees/config there were some custom sections added by packages Diplo.AuditLog and LeBlender and these were generating the error. Yesterday I had replaced the file, but it seems that it did not work. Today, I overwrote the file again with the one that comes in Umbraco's .zip and it worked.

  • Alex Skrypnyk 4539 posts 16232 karma points MVP 2x admin
    Oct 19, 2017 @ 10:06
    Alex Skrypnyk
    0

    Hi Francielle,

    Nice point, what error did this package generate? Can you share with us?

    Alex

  • Benjamin 16 posts 89 karma points
    Nov 06, 2017 @ 15:30
    Benjamin
    1

    Same problem when trying to upgrade to 7.7.4

    • Same solution as the post marked as the solution
  • Roberto Bianchi 132 posts 437 karma points c-trib
    Nov 06, 2017 @ 15:32
    Roberto Bianchi
    0

    Great! I'm very happy to have been helpful ;)

Please Sign in or register to post replies

Write your reply to:

Draft