简体   繁体   中英

SQL Server login failed in Windows Server 2012

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.

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]

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM