我创建WCF服务和一些简单的WPF应用程序消费它。当我在Visual Studio中运行项目时,WCF测试客户端打开,应用程序工作正常,在服务工作中定义了方法。WCF服务 - 不工作
但我需要在Windows服务来举办这个WCF服务。我遵循this,使用Installutil.exe
安装服务并运行该服务。一切都很好,它的工作。
然而,当我试图直接从应用程序的调试文件夹中打开与WPF应用程序的可执行文件,我得到这个错误:
zad8. has stopped working
选择与调试它的选项后VS的新实例,我得到
XamlParseException occured in PresentationFramework.dll
堆栈跟踪显示是这样的:
connection can't be started, because the target computer is actively refusing it
你有什么想法可能会出错?