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

前端 未结 19 2785
闹比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:19

    As mentioned here, you might need to disable the loopback

    Loopback check can be removed by adding a registry entry as follows:

    • Edit the registry using regedit. (Start –> Run > Regedit )
    • Navigate to: HKLM\System\CurrentControlSet\Control\LSA
    • Add a DWORD value called “DisableLoopbackCheck” Set this value to 1

提交回复
热议问题