DNN Forums

Ask questions about your website to get help learning DNN and help resolve issues.

DNN login issue

 4 Replies
 2 Subscribed to this topic
 40 Subscribed to this forum
Sort:
Author
Messages
New Around Here
Posts: 3
New Around Here

Hi,

We have 3 different dnn environments for our development as mentioned below.
1. qa-support
2. uat-support
3. staging
Unfortunately we cannot login to the "qa-support" environment due to some reason. When we try to login to the "qa-support", it says invalid username or password. We have used same username and password for all these environments. We have checked the DB level user data and seems all the password and usernames are same. How we can resolve this issue?

Veteran Member
Posts: 1246
Veteran Member
MVP
MVP
You're an MVP!
Some ideas:

Can you get a password reset link?

Can you register a new user. If you can do that, you can get into the database and elevate the new user to a SuperUser. Then, login with that user and fix the usernames and passwords of your other users.

It is possible that you copied the database to the different environments, but have somehow managed to change the MachineKey for the other environments. Compare web.config files for the environments and check the MachineKey settings. Edit so that all match the environment that works.
New Around Here
Posts: 3
New Around Here

Hi,

Thank you for your reply. 

No. I couldn't get a reset link. When I try to enter username for forgot password option, it shows me a error "Invalid Username". Is there any way to create a new user from DB script?

Veteran Member
Posts: 838
Veteran Member
3 Helpful Replier
Helpful Replier
Thanks for being such a helpful replier!
New Poster
New Poster
Congrats on posting!

If it says Invalid username, it means that no such username is present. So...we now know why you can not login :-)

1. Try another username
2. If you have FTP / rdp access, you can upload letmein.aspx (https://www.evotiva.com/downloads - free utilities, https://www.evotiva.com/products/let-me-in) and create a new superuser. Don't forget to remove the file afterwards

New Around Here
Posts: 3
New Around Here

Thank you very much. Will update you if we able to resolved our problem. 

These Forums are for the discussion of the open source CMS DNN platform and ecosystem.

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

  1. If you have (suspected) security issues, please DO NOT post them in the forums but instead follow the official DNN security policy
  2. No Advertising. This includes the promotion of commercial and non-commercial products or services which are not directly related to DNN.
  3. 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.
  4. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  5. No Flaming or Trolling.
  6. No Profanity, Racism, or Prejudice.
  7. Site Moderators have the final word on approving / removing a thread or post or comment.
  8. English language posting only, please.

Would you like to help us?

Awesome! Simply post in the forums using the link below and we'll get you started.

Get Involved