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 137 posts 446 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 137 posts 446 karma points c-trib
    Oct 12, 2017 @ 14:28
    Roberto Bianchi
    103

    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" />
    
  • Damien Holley 179 posts 540 karma points
    Oct 24, 2019 @ 00:02
    Damien Holley
    0

    What does this mean? You had to leave the tag or leaving the tag caused the problem?

  • Francielle 65 posts 279 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 137 posts 446 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 279 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 6132 posts 23951 karma points MVP 7x admin c-trib
    Oct 19, 2017 @ 10:06
    Alex Skrypnyk
    0

    Hi Francielle,

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

    Alex

  • Francielle 65 posts 279 karma points
    Oct 19, 2017 @ 10:08
    Francielle
    0

    Hi Alex, I actually replied to the wrong topic :) At first I was getting the same error (not being able to login). What I did was basically adding the web.config from version 7.6.10 and running the upgrade again. After the upgrade, I was able to login, but there was an error and the menu was not loading (https://our.umbraco.org/forum/using-umbraco-and-getting-started/88771-getsections-error-after-upgrade-to-773) Diplo.AuditLog and Leblender add custom sections to the file tree.config which generated the error. I then replaced tree.config for the clean version that comes with 7.7.3 zip package and it worked like a charm.

  • Benjamin Stengaard 27 posts 141 karma points
    Nov 06, 2017 @ 15:30
    Benjamin Stengaard
    1

    Same problem when trying to upgrade to 7.7.4

    • Same solution as the post marked as the solution
  • Roberto Bianchi 137 posts 446 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