大家好!
在使用WCF的时候遇到一个问题,需要大家帮助。
使用customBinding时,配置如下:
<customBinding>
<binding name="customBinding0">
<binaryMessageEncoding />
<httpTransport authenticationScheme="Ntlm">
<extendedProtectionPolicy policyEnforcement="Never" />
</httpTransport>
</binding>
</customBinding>
在IIS中托管理该服务,打开server.svc时报如下错误:
此服务的安全设置需要“Anonymous”身份验证,但没有为驻留此服务的 IIS 应用程序启用该身份验证。
但在vsiutal sutdio中使用是正常的。
Gao Peter