Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Users cant login after db restoreUsers cant login after db restore
Previous
 
Next
New Post
10/30/2006 6:46 AM
 

Hello!

I recently had a server that crashed on me and i had to replace it with new hardware. I reinstalled windows and sql server and then restored a db backup i had (sql server backup) of my dotnetnuke DB. I restored my dotnetnuke application directory and then connected to my website. I see the website just fine and everything works except for one thing, none of my users can login, not even the host and admin accounts!

I get a username/password error and the error below in my windows event viewer. My best guess is it has something to do with the aspnet_users table. It contains all of my users but i guess the application id has changed or something? I can add new users but they cant login either. Ive tried upgrading the broken dotnetnuke to a new version in hopes that it would fix the login issue but that did not help.

If anyone has any bright ideas on how to fix this, pleaase let me know!!

Event code: 4006
Event message: Membership credential verification failed.
Event time: 2006-10-30 12:29:49
Event time (UTC): 2006-10-30 11:29:49
Event ID: 6f97375e9063420ab8da044809e1153e
Event sequence: 228
Event occurrence: 26
Event detail code: 0

Application information:
Application domain: /LM/W3SVC/1/ROOT-3-128066028559687500
Trust level: Full
Application Virtual Path: /
Application Path: D:\INETROOT\DOTNETNUKE\
Machine name: FILLESDATOR
Process information:
Process ID: 396
Process name: aspnet_wp.exe
Account name: FILLESDATOR\ASPNET

Request information:
Request URL: http://www.<my site>.com/Default.aspx?tabid=54&ctl=Login
Request path: /Default.aspx
User host address: <my ip adress>
User:
Is authenticated: False
Authentication Type:
Thread account name: FILLESDATOR\ASPNET

Name to authenticate: <my username>
Custom event details:

Best regards,

Roger

 
New Post
11/1/2006 5:07 AM
 

Its probably due to you setting up a new web.config file, rather than keeping the copy from your original installation. The web.config file contains 2 critical values that must be preserved if you are moving to a new server. These are validationKey and decryptionKey. You need exactly the same values in your new web.config as you had in the original:

  <system.web>
    <machineKey
      validationKey="F9D1A2D3E1D3E2F7B3D9F90FF3965ABDAC304902"
      decryptionKey="F9D1A2D3E1D3E2F7B3D9F90FF3965ABDAC304902F8D923AC"

The values are used to encrypt/decrypt the user passwords in the aspnet_membership table. If they change, noone can log in because the passwords are being interpretted differently.

 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Users cant login after db restoreUsers cant login after db restore


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out