DNN Forums

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

Reset Password

Sort:
You are not authorized to post a reply.





New Around Here





    After setting the website, when i want to loging, I am getting below message

    Your password needs to be changed before you can login into your account. A password reset link has been sent to your email address which will allow you to create a new password.

    But I am not getting any email. what to do?






    Veteran Member





      Have you set up the mail server connection correctly (Settings >> Server >> Server Settings)? When you send a test mail, is this arriving as expected?

      Happy DNNing!
      Michael

      Michael Tobisch
      DNN★MVP

      dnnWerk Austria
      DNN Connect





      Veteran Member





        How did you setup the website - did you use DNN installwizard, where you was able to specify username and password or did you use a preconfigured website from a hosting provider? In the second case, he should have provided you with a default password, you need to change first.





        New Around Here





          I got already developed DNN website, I just hosted on Azure server and I changed password from database directly in aspnet_Membership table(As i did not have login password).

          What could be done in this case?






          Veteran Member





            How did you change the password directly in the database? Passwords are stored as Hashes, so how did you create the hash witout the UI?

            Happy DNNing!
            Michael

            Michael Tobisch
            DNN★MVP

            dnnWerk Austria
            DNN Connect





            New Around Here





              For all those who is facing the same issue,

              Just copy paste password and passwordsalt from any existing db and changed in aspnet_Membership






              Veteran Member





                Posted By MALI on 02 Jun 2021 09:29 AM

                For all those who is facing the same issue,

                Just copy paste password and passwordsalt from any existing db and changed in aspnet_Membership

                Note: this will only work, if both IIS websites as using same machinekey in web.config file.

                 

                 






                Veteran Member





                  The better way is: create a (dummy) user on this website, and copy the hash and salt over the host user (or check IsSuperuser for this user in the Users table, and then deactivate the original host user). Make sure you restart the application pool after making any changes in the database to fresh-up the cache.

                  Happy DNNing!
                  Michael

                  Michael Tobisch
                  DNN★MVP

                  dnnWerk Austria
                  DNN Connect





                  Veteran Member





                    I second Michael's suggestion to create a new user and promote it to superuser. If you are able to login as a superuser, you can do this on the Users page. If not, you can edit the IsSuperuser field for the new user in the Users table in the database.
                    Joe Craig
                    DNN MVP
                    Patapsco Research Group
                    You are not authorized to post a reply.

                    These Forums are dedicated to the discussion of DNN Platform.

                    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