WcfTestClient,“客户端无法检索服务元数据......”

时间:2020-12-10 15:50:06

I get this error when I attempt to run the wcftestclient application: "The client was unable to retrieve service metadata..."

当我尝试运行wcftestclient应用程序时出现此错误:“客户端无法检索服务元数据......”

What is odd that this happens when I load the program; before the UI to choose which service to connect to is loaded. I presume it's "helpfully" remembering the last service to which I connected, unfortunately this is no longer running and I have no idea what it could be (since the wcftestclient exits when this error pops up).

加载程序时发生这种情况有多奇怪;在UI之前选择加载要连接的服务。我认为它“有助于”记住我连接的最后一个服务,遗憾的是它不再运行,我不知道它可能是什么(因为当弹出这个错误时wcftestclient退出)。

Does any one know where it may be storing this information and how I would go about deleting it?

有没有人知道它可能存储这些信息的位置以及我将如何删除它?

2 个解决方案

#1


If you launch the application from the command line, passing in the URI of the service you want to test it works fine.

如果从命令行启动应用程序,则传入要测试的服务的URI可以正常工作。

#2


Check this folder on your machine:

检查您机器上的此文件夹:

C:\Documents and Settings*User*\Local Settings\Application Data\Temp\Test Client Projects

C:\ Documents and Settings * User * \ Local Settings \ Application Data \ Temp \ Test Client Projects

All your clients are saved there.

你的所有客户都被保存在那里。

#1


If you launch the application from the command line, passing in the URI of the service you want to test it works fine.

如果从命令行启动应用程序,则传入要测试的服务的URI可以正常工作。

#2


Check this folder on your machine:

检查您机器上的此文件夹:

C:\Documents and Settings*User*\Local Settings\Application Data\Temp\Test Client Projects

C:\ Documents and Settings * User * \ Local Settings \ Application Data \ Temp \ Test Client Projects

All your clients are saved there.

你的所有客户都被保存在那里。