YAFLogo

DaleDixon
  • DaleDixon
  • 54.8% (Neutral)
  • YAF Forumling Topic Starter
13 years ago
After installing v1.9.5.5 (new install) using a copy of an existing database (v1.9.1.8) I am unable to login using any account.

The Install successfully completed, and it appears that the database was successfully upgraded. I can see the forum, and the all the structure is there, just no login. I am able to create new users, and request new passwords.

Existing configuration:

Win 2003 R2 SP2, MSSQL 2005, IIS 6

New Configuration

Win 2003 R2 SP1, MSSQL 2008, IIS 7

Using the defaults in both existing and New instances.

Any Ideas?

Thanks, Dale

Sponsor
Jaben
  • Jaben
  • 100% (Exalted)
  • YAF Developer
13 years ago
Did you use the upgrade web.config... before the upgrade?
DaleDixon
  • DaleDixon
  • 54.8% (Neutral)
  • YAF Forumling Topic Starter
13 years ago
Is that needed to upgrade the database?

I assumed that was for an in place upgrade of the application.

This was a clean install of 1.9.5.5

tha_watcha
  • tha_watcha
  • 100% (Exalted)
  • YAF.NET Project Lead 🤴 YAF Version: 4.0.0 rc 2
13 years ago

Is that needed to upgrade the database?

I assumed that was for an in place upgrade of the application.

This was a clean install of 1.9.5.5

Originally Posted by: DaleDixon 

Of course when you using an existing database you need to upgrade the db. In your case when you upgrade from version 1.9.1.x you need the upgrade config, because of the changes in the membership related stuff. Thats why you can not login.

DaleDixon
  • DaleDixon
  • 54.8% (Neutral)
  • YAF Forumling Topic Starter
13 years ago
I reinstalled following the directions for upgrading, and merged the upgrade web.config, into the web config from the existing 1.9.1.8 site.

I am still unable to log in. the Forum appears to be working, and I can browse the existing content in public areas.

Do I need to change the web.config after the upgrade?

Any more Ideas?

Jaben
  • Jaben
  • 100% (Exalted)
  • YAF Developer
13 years ago
Can you post your membership/role/provider settings from your web.config here?
RichP714
  • RichP714
  • 100% (Exalted)
  • YAF All-the-Time
13 years ago
IIRC, this happened to me as well; make sure your web. config is using MD5 instead of SHA1


Enjoy!

Running YAF 1.9.5.5 final at: http://thecarversite.com 

DaleDixon
  • DaleDixon
  • 54.8% (Neutral)
  • YAF Forumling Topic Starter
13 years ago
Here is the content of the web.config file:

Thanks,

SteveInTN
13 years ago
Did you see the post from RichP714 above?
DaleDixon
  • DaleDixon
  • 54.8% (Neutral)
  • YAF Forumling Topic Starter
13 years ago

Did you see the post from RichP714 above?

Originally Posted by: SteveInTN 

Yes testing right now

Thanks

DaleDixon
  • DaleDixon
  • 54.8% (Neutral)
  • YAF Forumling Topic Starter
13 years ago

IIRC, this happened to me as well; make sure your web. config is using MD5 instead of SHA1

Originally Posted by: RichP714 

This didn't fix it, thanks though.

Jaben
  • Jaben
  • 100% (Exalted)
  • YAF Developer
13 years ago
That's not the upgrade membership settings... no wonder it won't work for you.

They are:


    <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>
DaleDixon
  • DaleDixon
  • 54.8% (Neutral)
  • YAF Forumling Topic Starter
13 years ago
Thanks Jaben and all for your help!

One more question. Does the refer to the application name in IIS?

Does it need to be changed to what ever the application is named in IIS?

Thanks

Jaben
  • Jaben
  • 100% (Exalted)
  • YAF Developer
13 years ago

Thanks Jaben and all for your help!

One more question. Does the refer to the application name in IIS?

Does it need to be changed to what ever the application is named in IIS?

Thanks

Originally Posted by: DaleDixon 

Nope. They're unrelated. ASP.NET membership supports different users/roles PER application. So you can have a membership store for DotNetNuke and YAF.NET on the same database by giving them different application names.

Just another dimension, really.

DaleDixon
  • DaleDixon
  • 54.8% (Neutral)
  • YAF Forumling Topic Starter
13 years ago
Got it up and running!

Thanks guys for all the assistance.

- Dale