This article is a mirror article of machine translation, please click here to jump to the original article.

View: 10074|Reply: 0

[Solved] User 'sa' login failed. The user is not associated with a trusted SQL Server connection. (Microsoft SQL Serve...

[Copy link]
Posted on 1/2/2015 4:50:54 PM | | |
Title: Connect to a server
------------------------------

Unable to connect to .

------------------------------
Additional information:

User 'sa' login failed. The user is not associated with a trusted SQL Server connection. (Microsoft SQL Server, Error: 18452)

For help information, click http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&EvtSrc=MSSQLServer&EvtID=18452&LinkId=20476

------------------------------
Button:

Are you sure
------------------------------





The error occurs because SQL Server uses a "Windows only" authentication method, so users cannot connect using a SQL Server login account (e.g. sa), and the solution is as follows

Set up allowing SQL Server identity login (basically this is useful)

Steps:

1。 In Enterprise Manager, expand SQL Server Groups and right-click the name of the SQL Server server

2。 Select Properties

3。 Then select the Security tab

4。 Under Authentication, select SQL Server and Windows

5。 OK and restart the SQL Server service


If you don't understand, please reply to the post:)





Previous:Output "Happy New Year to everyone" in computer programming language
Next:Common problems with sqlserver and solutions
Disclaimer:
All software, programming materials or articles published by Code Farmer Network are only for learning and research purposes; The above content shall not be used for commercial or illegal purposes, otherwise, users shall bear all consequences. The information on this site comes from the Internet, and copyright disputes have nothing to do with this site. You must completely delete the above content from your computer within 24 hours of downloading. If you like the program, please support genuine software, purchase registration, and get better genuine services. If there is any infringement, please contact us by email.

Mail To:help@itsvse.com