Login failed for user (Microsoft SQL Server, Error:18456) SQL Server 2005

后端 未结 2 1976
滥情空心
滥情空心 2020-12-04 02:49

I am using sql server 2005. TCP/IP is enabled. windows authentication is being used. while trying to connect the server with the Database Engine as server type, I am getting

相关标签:
2条回答
  • 2020-12-04 03:27

    This error means that given windows user 'name-pc\account 2' does not have access to given instance. You can login with 'sa'(if it is enabled otherwise login with other sysadmin account) and check if 'name-pc\account 2' is exists and enabled.

    You can also read more about this error and gain more information HERE

    Please read the comments too, some important tips and points reached in comments

    0 讨论(0)
  • 2020-12-04 03:35

    You may be missing this setting. SQL Server authentication mode is not enabled on my machine by default. (Remember to re-start the SQL server after this change)

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