본문 바로가기
Etc

SSPI handshake failed with error code 0x8009030c 해결 방법

by 올엠 2022. 3. 27.
반응형

 

웹 개발중 

Login failed. The login is from an untrusted domain and cannot be used with Windows authentication. [클라이언트: x.x.x.x] 메시지와 함께 SQL 서버 연결이 되지 않는 경우가 있다.

아래 SSPI 오류도 함께 나타나는데, 다음과 같이 레지스트리를 추가하면 간단히 해결이 가능하다.

SSPI handshake failed with error code 0x8009030c, state 14 while establishing a connection with integrated security; the connection has been closed. Reason: AcceptSecurityContext가 실패했습니다. Windows 오류 코드는 오류 원인을 나타냅니다. 로그온하지 못했습니다. [클라이언트: x.x.x.x]

 

HKLM:\System\CurrentControlSet\Control\Lsa

DWORD 값으로 "DisableLoopbackCheck"를 생성하고 값을 1을 설정하자.

그리고 서버를 다시 시작하면 해결된다.

반응형