SQL Server login failed in Windows Server 2012

試著忘記壹切 提交于 2019-12-13 03:46:54

问题


I have a problem to login to SQL Server 2014 Express edition using a SQL Server user.

I have this problem in Windows Server 2012. In normal Windows machine I can create user and login. I changed the authentication mode to mix and did the all thing in Internet but still I got login error.

Error Number: 18456
Severity: 14
State: 1
Line Number: 65536

If anyone can please help me.


回答1:


How are you trying to connect? Is there any connection string? And Do you check connectting with udl file.

For testing with udl file follow below:

  1. Create a new txt file.
  2. Change its extension to udl.
  3. Run it.
  4. Select Microsoft OLE DB Provider for SQL Server in Provider tab.
  5. Enter your entries.

Service of SQL Server (MSSQLSERVER) must be started in your services.

If udl file works, I think you need to reinstall SQL Server. [from comment]




回答2:


I found the problem. It was conflict with previous installation instant. After I remove everything and reinstall SQL again make it work.



来源:https://stackoverflow.com/questions/28925219/sql-server-login-failed-in-windows-server-2012

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!