Problems resetting sql password - database deleted

  • I have a sql login which is used by an application on several databases. Some time ago one of the database was removed because the customer left us. This is on our test environment.

    When I try to reset the password in Security->Logins on the server it complains about the missing database. I can reset the password at the database level OK using sp_password. I suspected it was an orphaned user but running "EXEC sp_change_users_login 'Report'" doesn't show anything.

    Screenshot attached.

    Any ideas

    keith

  • Is the deleted database default for the user. check the user properties.

    Regards
    Durai Nagarajan

  • Thanks.

    That was it. There was nothing listed in default for user, missed that one. Set a new default and it works now

    🙂

    keith

  • happy to help..

    Regards
    Durai Nagarajan

  • Reset sql password by Windows Authentication

    If Built-in/Administrator is present in SQL , you can login with an ID which is member of Administrators group and reset password in SQL . Just do as follows:

    Step 1. Login into SQL server using Windows Authentication.

    Step 2. In Object Explorer, open Security folder, open Logins folder. Right click on sa account and go to Properties.

    Step 3. Type a new SQL password, and confirm it. Click OK to finish.

  • hrr1117 (6/20/2012)


    Reset sql password by Windows Authentication

    If Built-in/Administrator is present in SQL , you can login with an ID which is member of Administrators group and reset password in SQL . Just do as follows:

    Step 1. Login into SQL server using Windows Authentication.

    Step 2. In Object Explorer, open Security folder, open Logins folder. Right click on sa account and go to Properties.

    Step 3. Type a new SQL password, and confirm it. Click OK to finish.

    hrr1117 kindly note user got error while resetting the password, not asking help for resetting the password.

    Regards
    Durai Nagarajan

  • Different issue in SQL Server can cause inaccessibility in SQL Server Password which needs some special observation or action.

    User can RESET SQL Password with the help of some external programmed device like SQL password recovery tool.

    Visit at: http://www.unlocksqlserverpassword.n.nu/[/url]

Viewing 7 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic. Login to reply