客户端调用多个ASMX服务(Client calling multiple asmx service

2019-10-18 22:25发布

我有一个调用多个web服务ASMX我不断获取401认证错误,一个WPF客户端应用程序。

有时,无论出于何种原因一个成功而另一个失败,但后来由于某种原因,一个工作,然后另外一个失败......不知道是什么原因。

其中一个服务的需求做双跳和它在白天,由于某种原因,现在已停止工作,我不相信我改变任何东西前面的工作。

我跟着http://social.technet.microsoft.com/Forums/windowsserver/en-US/c9239a89-fbee-4adc-b72f-7a6a9648331f/401-unauthorized-access-is-denie d-由于到无效的凭据?论坛= winserversecurity

下面的建议

IIS 7 was difficult for figuring out why i was getting the 401 - Unauthorized: Access is denied due to invalid credentials... until i did this...

1.) Open iis and select the website that is causing the 401
2.) Open the "Authentication" property under the "IIS" header
3.) Click the "Windows Authentication" item and click "Providers"
4.) For me the issue was that Negotiate was above NTLM. I assume that there was some kind of handshake going on behind the scenes, but i was never really authenticated. I moved the NTLM to the top most spot, and BAM that fixed it.

它最初不过工作,一旦我关闭了小提琴手的问题回来了

文章来源: Client calling multiple asmx services