這是一份來自微軟 的此錯誤的相關報告(原文為英文,附帶的是谷歌提供的翻譯,僅作參考)
詳情 | |
Product: 產品名稱: | SQL Server SQL Server的 |
ID: 編號: | 18456 18456 |
Source: 來源: | MSSQLServer MSSQLSERVER |
Version: 版本: | 10.0 10.0 |
Component: 組件: | SQLEngine SQLEngine |
Symbolic Name: 符號名稱: | LOGON_FAILED LOGON_FAILED |
Message: 消息: | Login failed for user '%.*ls'.%.*ls登錄失敗,用戶'%。* ls'的%*! |
Explanation解釋 | |
When a connection attempt is rejected because of an authentication failure that involves a bad password or user name, a message similar to the following is returned to the client: "Login failed for user '當連接嘗試將被拒絕,因為,涉及到一個壞的密碼或用戶名驗證失敗,返回給客戶端以下類似的消息:“登錄失敗,用戶' <USER_NAME>'. “。 (Microsoft SQL Server, Error: 18456)". (微軟SQL Server,錯誤:18456)“。 Additional information returned to the client includes the following:返回到客戶端的其他信息包括以下內容: "Login failed for user ' “登錄失敗,用戶' <USER_NAME>'. “。 (.Net SqlClient Data Provider)" (。NET SqlClient數據提供程序)“ ------------------------------ ------------------------------ "Server Name: “服務器名稱: <COMPUTER_NAME>" “ "Error Number: 18456" “錯誤號:18456” "Severity: 14" “嚴重性:14” "State: 1" “國家:1” "Line Number: 65536" “行號:65536” The following message might also be returned:也可能返回以下消息: "Msg 18456, Level 14, State 1, Server “消息18456,級別14,狀態1,服務器 <COMPUTER_NAME>, Line 1" ,1號線“ "Login failed for user ' “登錄失敗,用戶' <USER_NAME>'." '“。 |
|
User Action用戶操作 | |
If you are trying to connect using SQL Server Authentication, verify that SQL Server is configured in Mixed Authentication Mode.如果您正試圖連接使用SQL Server身份驗證,驗證SQL Server配置混合身份驗證模式。 If you are trying to connect using SQL Server Authentication, verify that SQL Server login exists and that you have spelled it properly.如果您正試圖連接使用SQL Server身份驗證,驗證SQL Server登錄名是否存在,以及你拼寫正確。 If you are trying to connect using Windows Authentication, verify that you are properly logged into the correct domain.如果您嘗試使用Windows身份驗證連接,驗證您是否正確登錄到正確的域。 If your error indicates state 1, contact your SQL Server administrator.如果你的錯誤表示狀態1,SQL Server管理員聯系。 |
|
Version: 版本: | 9.0 9 |
Component: 組件: | SQL Server Database Engine SQL Server數據庫引擎 |
Message: 消息: | Login failed for user '%.*ls'.%.*ls登錄失敗,用戶'%。* ls'的%*! |
Explanation解釋 | |
Error MSSQL_ENG018456 is raised whenever a login attempt fails.登錄嘗試失敗時,會引發錯誤MSSQL_ENG018456。 If the error message includes the account distributor_admin (Login failed for user 'distributor_admin'.), the issue is with an account used by replication.如果錯誤信息中包含的帳戶的distributor_admin(登錄失敗。用戶'distributor_admin'),這個問題是由復制使用的帳戶。 Replication creates a remote server, repl_distributor , which allows communication between the Distributor and Publisher.復制創建一個遠程服務器,repl_distributor,從而使分銷商和發行商之間的溝通。 The login distributor_admin is associated with this remote server and must have a valid password.登錄distributor_admin與此遠程服務器,必須有一個有效的密碼。 Note:注意:In versions prior to Microsoft SQL Server 2000 Service Pack 3 (SP3), it was possible to specify that this connection was trusted and did not require a password.在之前的版本的Microsoft SQL Server 2000的Service Pack 3(SP3),它可以指定連接,這是值得信賴的,並沒有要求輸入密碼。 If you are upgrading from a previous version, you must now specify a password.如果你是從以前的版本升級,現在,你必須指定一個密碼。 |
|
User Action用戶操作 | |
Ensure that you have specified a password for this account.確保你已經指定了該帳戶的密碼。 For more information, see Securing the Distributor.有關詳細信息,請參閱保護經銷商。 |
解決方案:
1、可能是因為采取了用戶密碼強制措施或者密碼過期引起的,去掉勾即可。
2、選擇了僅windows系統用戶登錄模式,應該選擇混合模式登錄,更改后,需要重新啟動相應的sqlserver服務。