SQL Server 2008 Error 233

后端 未结 14 1500
情歌与酒
情歌与酒 2021-02-05 06:33

I\'m creating new login in SQL Server 2008 with following sql script:

CREATE LOGIN [xyz] WITH PASSWORD=\'xyz\',
            DEFAULT_DATABASE=[master], DEFAULT_LA         


        
相关标签:
14条回答
  • 2021-02-05 06:47

    Here is how I done it, maybe it works for you too.

    1. login Microsoft SQL Server 2012 with windows authentication.

    2. right-click onto the server name in Object Explorer and click Properties

    3. In the new tab click Security

    4. select SQL Server and Windows Authentication

    5. Ok

    6. Close the SQL server management studio.

    7. start+run

    8. write services.msc

    9. search for SQL there and restart all services.

    that works for me.

    0 讨论(0)
  • 2021-02-05 06:47

    According to: https://msdn.microsoft.com/en-us/library/bb326280.aspx

    Go to --> Remot setting

    Go to "Remote" tab

    in "Remote Assistance", Tick "Allow Remote Assistance connection to this computer", Click the "Advance" button and tick the "Allow..." and in the "Invitation" set the "30 days"

    Then in the "Remote Desktop" part

    Just tick "Allow remote connection to this computer"

    0 讨论(0)
  • 2021-02-05 06:50

    This is might not be a connection issue . Check your default database and if that is online . More commonly this issues seen when the default database will be offline or not exists . If your default database other than master ,better check this option.

    0 讨论(0)
  • 2021-02-05 06:51

    I tried most of the solution but was not able to solve it until I found this URL which says to do the following:

    Open SQL Server Management Studio and run the these queries:

    sp_configure 'show advanced options', 1;
    go
    reconfigure
    go
    sp_configure 'user connections', 0
    go
    reconfigure
    go
    

    The reason why we got this error is that the user connections was reset to 1, so only one user was able to connect with the SQL server. just a simple query worked for. I hope this will work for others as well.

    0 讨论(0)
  • 2021-02-05 06:56

    It's also possible that you're trying to use SQL Server Authentication without having enabled it. To fix this, right-click Properties on your server instance in SQL Server Management Studio, and update the security settings to include "SQL Server and Windows Authentication mode".

    0 讨论(0)
  • 2021-02-05 06:58

    Login with Administrator in SQL Server Go to Securities >> Logins >> select your user name and go to properties

    From Status >> uncheck user account lock check box Change password for the user Restart the sql server and login with your username.

    0 讨论(0)
提交回复
热议问题