Forum Discussion

Aman_Susanto's avatar
Aman_Susanto
Copper Contributor
Jun 24, 2024
Solved

login failed for user sa sql server 2022 on windows server 2022

i got the login failed error for user sa, but not always so I went to server properties - security - server authentication change to windows authentication mode and change again to sql server and ...
  • olafhelper's avatar
    olafhelper
    Jun 25, 2024
    The first "error" (which is only an issue, not an error) is related to Windows authentication, not to SQL logins.

    And the second error is clear, isn't it? If you have a password policy in place and someone enters several times a wrong password, the "sa" login may gets locked.

Resources