The HTTP request is unauthorized with client authentication scheme 'Anonymous'. The authentication header received from the serv
2010-05-05 15:37
459 查看
The HTTP request is unauthorized with client authentication scheme 'Anonymous'. The authentication header received from the server was 'Negotiate,NTLM'.
解决方案
1 配置IIS
网站->属性->目录安全性->身份验证方法: 同时选中”匿名访问”和”集成Windows身份验证”
2 配置WCF客户端的Config文件: 有3处地方: 1)security mode, 2)end point的behaviorConfiguration, 3)behaviors
解决方案
1 配置IIS
网站->属性->目录安全性->身份验证方法: 同时选中”匿名访问”和”集成Windows身份验证”
2 配置WCF客户端的Config文件: 有3处地方: 1)security mode, 2)end point的behaviorConfiguration, 3)behaviors
<system.serviceModel> <bindings> <basicHttpBinding> <binding …> <readerQuotas … /> <security mode="TransportCredentialOnly"> <transport clientCredentialType="Windows" proxyCredentialType="Windows" realm="" /> <message clientCredentialType="UserName" algorithmSuite="Default" /> </security> </binding> </basicHttpBinding> </bindings> <client> <endpoint ... behaviorConfiguration="ImpersonationBehavior"/> </client> <behaviors> <endpointBehaviors> <behavior name="ImpersonationBehavior"> <clientCredentials> <windows allowedImpersonationLevel="Impersonation"/> </clientCredentials> </behavior> </endpointBehaviors> </behaviors> </system.serviceModel>
相关文章推荐
- Web service: The HTTP request is unauthorized with client authentication scheme 'Anonymous'.....
- Web Service 之 Exception: "The HTTP request is unauthorized with client authentication scheme......"
- HTTP request is unauthorized with client authentication scheme 'Anonymous'.
- fatal error C1853: 'Debug\test.pch' precompiled header file is from a previous version of the compil
- core.min.js:36 XMLHttpRequest cannot load http://【地址】. No 'Access-Control-Allow-Origin' header is pr
- fatal error C1853: 'Debug\***.pch' precompiled header file is from a previous version of the compil
- SVN 报错:svn: E155021: This client is too old to work with the working copy at..... (format '31').
- 解决The 'InnoDB' feature is disabled; you need MySQL built with 'InnoDB' to have it (http://ruijunsu)
- 401 Unauthorized when call WCF in BizTalk,The authentication header received from the server was 'Negotiate,NTLM'
- fatal error C1853: 'Debug\test.pch' precompiled header file is from a previous version of the compil
- 木其工作室代写程序 [原]the request doesn't contain a multipart/form-data or multipart/mixed stream, content type header is
- The type javax.servlet.http.HttpServletRequest cannot be resolved. It is indirectly referenced from
- Web Service Error: “The request failed with HTTP status 401: Unauthorized.”
- Mongodb无法启动:The default storage engine 'wiredTiger' is not available with this build of mongod.
- 解决 The 'InnoDB' feature is disabled; you need MySQL built with 'InnoDB' to have it working
- The type org.apache.http.Header cannot be resolved. It is indirectly referenced from required .class
- The run destination My Mac 64-bit is not valid for Running the scheme '*'
- Attribute value request.getParameter("digyso") is quoted with " which must be escaped when used within the value
- 解决ASP.NET 4.0 "A potentially dangerous Request.Form value was detected from the client". 错误
- https使用HttpWebRequest出现错误:System.IO.IOException: Received an unexpected EOF or 0 bytes from the transport stream.的解决方法