Trouble Connecting to sql server Login failed. “The login is from an untrusted domain and cannot be used with Windows authentication”

前端 未结 19 2792
闹比i
闹比i 2020-12-05 12:38

I am trying to host a SQL server database, but whenever I try to connect to it I get this error:

The login is from an untrusted domain and cannot be u

19条回答
  •  独厮守ぢ
    2020-12-05 13:27

    I was facing the issue while connecting to SQL Always On Listener. Disabling the loop back check resolved the issue.

    1. Edit the registry using regedit. (Start –> Run > Regedit )

    2. Navigate to: HKLM\System\CurrentControlSet\Control\LSA

    3. Add a DWORD value called “DisableLoopbackCheck”

    4. Set this value to 1

    https://blog.sqlauthority.com/2017/04/18/sql-server-login-failed-login-untrusted-domain-cannot-used-windows-authentication/

提交回复
热议问题