sqlserver 2008 login failed: error 18456

iSQlServer發表於2009-10-22

在嘗試用sql server authentication登入的時候發生18456號錯誤。開始以為是自己建的使用者的密碼短了或者不符合要求,於是把密碼修改複雜,再試,還是不行。

後來把authentification 修改為mixed模式,登入成功。

修改方法:

用其它帳號登入Microsoft SQL Server Management Studio,在Object Explorer中右擊database instance->properties->security->Server authentication,選中SqlServer and Windows Authentication mode.

 

參考:http://msdn.microsoft.com/en-us/library/cc645917(classic).aspx

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/16436858/viewspace-617128/,如需轉載,請註明出處,否則將追究法律責任。

相關文章