#1
Hello All

We have moved out old installation of YAF onto a new Server 2016 box and the used the upgrade tool for Version 2.2.3 to upgrade the application and database.

When we open the forum we can see post form users on the old system so we are sure our data is there. We checked the SQL database and the references to existing user accounts are all there.

The issue is when we click to logon it says user doesn't exist. We have registered a new user account and this is now visible in the SQL database.
If we try to log on as that user and put the wrong password in (on purpose) it say incorrect username or password, which is what you would expect. However if you put the correct credentials in then it just takes you back the to main page where it says 'Welcome Guest! To enable all features please Login or Register.

We registered another account and the same happened. So we can register account but cant login and our old account are not seen at all.:cry:

Can someone please help.

Thanks Alan
Topic Starter
  • Alan Poole
  • Rank: YAF Forumling
  • Reputation:
    Neutral
    50.6%
  • Joined: 30/06/2017
  • Posts: 1
#2
The problem is that when you move the server, and you didn't specify a machine key in the web.config. On the new server the machine key is different, and that key is used for decrypt the passwords in the database.

The only way to resolve this would be to retrieve the autmatically generated machine key, and use the same key on the new server.
UserPostedImage
  • tha_watcha
  • Rank: YAF.NET Project Lead
  • Reputation:
    Exalted
    100%
  • Medals:
    Medal of Honor: Portal Puzzle Master: Portal Puzzle Master for DNNMedal of Honor Key: Given to pillars of the community who are key players in the YAF community and project.DNN Master: DNN Module ManBug Killer Medal of Honor: Medal for being a kick-ass bug killer!Medal of Honor for the Support King: Support King! Amazing asset to the YAF.NET Community.
  • Joined: 06/03/2010
  • Posts: 4,017
  •  Germany
  • Thanks: 73 times
  • Was thanked: 1211 time(s) in 1036 post(s)
Forum Jump  
  • You cannot post new topics in this forum.
  • You cannot reply to topics in this forum.
  • You cannot delete your posts in this forum.
  • You cannot edit your posts in this forum.
  • You cannot create polls in this forum.
  • You cannot vote in polls in this forum.

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

Project Twitter Updates

Copyright © YetAnotherForum.NET & Ingo Herbote. All rights reserved