Windows 인증이있는 WCF 서비스가 있습니다. 다른 서버에 배포 한 후 나는 다음과 같은 예외가받은 :배포 후 WCF windows 인증이 작동하지 않습니다.
System.ServiceModel.Security.MessageSecurityException: The HTTP request is unauthorized with client authentication scheme 'Anonymous'. The authentication header received from the server was 'Negotiate,NTLM'. ---> System.Net.WebException: The remote server returned an error: (401) Unauthorized
클라이언트 구성이 변경되지 않습니다 및 다음과 같습니다
<ws2007HttpBinding>
<binding name="autoSecureBinding">
<security mode="TransportWithMessageCredential">
<transport clientCredentialType="Windows" proxyCredentialType="None" realm=""></transport>
<message clientCredentialType="Windows" negotiateServiceCredential="true" establishSecurityContext="false"/>
</security>
</binding>
</ws2007HttpBinding>
편집 : 나는 브라우저에서 내 서비스를 열면 I
Security settings for this service require 'Anonymous' Authentication but it is not enabled for the IIS application that hosts this service.
아무도 알고 있나요 이 일 수 있던 무엇이 : 다음과 같은 오류가 나타날 수 전자 문제?
Windows 인증을 사용하고 익명을 사용할 수 없습니다. 새 서버가 동일한 AD 도메인에 있습니다. –
흠, 분명히 오류 메시지가 표시되어 익명을 사용하도록 설정해야합니다 ... 사용하도록 설정하는 것이 좋습니다. –