问题
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:
- Create a new
txtfile. - Change its extension to
udl. - Run it.
- Select
Microsoft OLE DB Provider for SQL ServerinProvidertab. - 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