简体   繁体   English

尝试在Visual Studio 2015上运行WCF测试客户端时出错

[英]Error trying to run WCF Test Client on Visual Studio 2015

I have a C# Web Application that work as a Gateway, with some wcf services created on it. 我有一个充当网关的C#Web应用程序,上面创建了一些wcf服务。 If i set any of the .svc files as the Start Page and try to run it, the WCF Test Client load, the green bar loads to half, and then the App crashes without even reaching the source code. 如果我将任何.svc文件设置为“起始页”并尝试运行它,则WCF测试客户端加载,绿色条加载到一半,然后应用崩溃,甚至没有到达源代码。

The weirdest thing, if i switch to Visual Studio 2013, the app and the WCF Test Client runs normally. 最奇怪的是,如果我切换到Visual Studio 2013,则该应用程序和WCF测试客户端将正常运行。 The VS 2013 is the Professional version, and the 2015 is Community. VS 2013是专业版,2015是社区。

Below the generic error it generates: 下面是它生成的一般错误:

在此处输入图片说明

您必须在连接字符串上将用户名和密码添加到数据库中。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM