YAFLogo

roopaw
  • roopaw
  • 53.6% (Neutral)
  • YAF Forumling Topic Starter
12 years ago
After upgrading to v1.9.4-RC1 I found that I couldn't login to my forum and couldn't send myself a reminder as my user name was not found.

The solution for me was in the membership provider section of web.config. The v191-upgrade-web.config file recommended:


<membership defaultProvider="YafMembershipProvider" hashAlgorithmType="MD5">
  <providers>
    <clear/>
      <add connectionStringName="yafnet" applicationName="YetAnotherForum" name="YafMembershipProvider" requiresUniqueEmail="false" type="YAF.Providers.Membership.YafMembershipProvider" hashHex="true" hashCase="upper" />
    </providers>
  </membership>

With this section I could not login, so I changed it to


<membership defaultProvider="YafMembershipProvider" hashAlgorithmType="SHA1">
  <providers>
    <clear/>
      <add connectionStringName="yafnet" applicationName="YetAnotherForum" name="YafMembershipProvider" 
requiresUniqueEmail="false" type="YAF.Providers.Membership.YafMembershipProvider" useSalt="true" />
    </providers>
  </membership>

Now I can login again and have also tested the sending of password reminders, which works too.

Possibly my problem was that I didn't check which version I was running before starting the upgrade. I could well have been running something later than v1.9.1 and caused the problem that way.

YMMV.


Sponsor

xodus
  • xodus
  • 62% (Friendly)
  • YAF Camper
12 years ago
I am having the same problem, upgrading from 1.9.1.8, this solution does not work for me.

Users can not login to the upgraded forum, (YAF-v1.9.4-RC1)

Does anyone have a solutions for this ?
Using win 2003, SQL 2005
midwestSS
12 years ago
when i had this problem i used the included web.config from the install, discarding the one i used in previous installations. use the recommended one and rename it as web.config.
xodus
  • xodus
  • 62% (Friendly)
  • YAF Camper
12 years ago
I did the same, no luck.. :cry:
xodus
  • xodus
  • 62% (Friendly)
  • YAF Camper
12 years ago
I have checked the database after upgrade, and in table [yaf_prov_RoleMembership] everything is empty.. both RoleID and UserID.. could this be the culprit?
YAF Logo Copyright © YetAnotherForum.NET & Ingo Herbote. All rights reserved
About Us

The YAF.NET is an open source .NET forum project. YAF.NET is supported by an team of international developers who are build community by building community software.

Powered by Resharper Donate with PayPal button