WCF:无法使用 netTCPBinding 在客户端和服务器之间打开通道
WCF: Cannot open channel between client and server using netTCPBinding
我有一个使用 WCF 的 client/server 应用程序。在我的机器和来自另一个域的服务器之间打开通道时,引发了以下 SecurityNegociationException:
目标名称不正确或服务器拒绝了客户端凭据。
那是几天前才开始的。它以前一直在工作,并且仍然可以在具有相同凭据的另一台机器上工作。
我怀疑 AppData 文件夹中有文件,但我仍然不知道它可能是什么。
有没有人知道如何解决这类问题?
这是解决方案。我尝试连接到服务器,但一如既往地出现了错误,所以我检查了事件查看器并发现:
"The password stored in Credential Manager is invalid. This might be
caused by the user changing the password from this computer or a
different computer. To resolve this error, open Credential Manager in
Control Panel, and reenter the password for the [Login] credentials."
我更改了凭据管理器中存储的服务器密码,现在可以使用了。
我有一个使用 WCF 的 client/server 应用程序。在我的机器和来自另一个域的服务器之间打开通道时,引发了以下 SecurityNegociationException:
目标名称不正确或服务器拒绝了客户端凭据。
那是几天前才开始的。它以前一直在工作,并且仍然可以在具有相同凭据的另一台机器上工作。 我怀疑 AppData 文件夹中有文件,但我仍然不知道它可能是什么。
有没有人知道如何解决这类问题?
这是解决方案。我尝试连接到服务器,但一如既往地出现了错误,所以我检查了事件查看器并发现:
"The password stored in Credential Manager is invalid. This might be caused by the user changing the password from this computer or a different computer. To resolve this error, open Credential Manager in Control Panel, and reenter the password for the [Login] credentials."
我更改了凭据管理器中存储的服务器密码,现在可以使用了。