Could not find default endpoint element that references contract 'wcfXXXXXXXXXXX' in the ServiceMode
来源:互联网 发布:淘宝美工专业术语 编辑:程序博客网 时间:2024/05/17 13:09
http://blog.csdn.net/burgess_liu/article/details/7698682
问题: 同一支wcf,在有些prject里引用后,使用中无任何问题;但有些报如下错误:
Could not find default endpoint element that references contract 'wcfXXXXXXXXXXX' in the ServiceModel client configuration section. This might be because no configuration file was found for your application, or because no endpoint element matching this contract could be found in the client element.
解决:结合报错信息,同时比对系统发现,报错的系统有两个app.config,而正常运行的只有一个,于是就将两个config进行同步,也就是把wcf所对应的config里的内容复制到另一个project中的config中去,问题解决……
无语了.......
0 0
- Could not find default endpoint element that references contract 'wcfXXXXXXXXXXX' in the ServiceMode
- Could not find default endpoint element that references contract 'wcfXXXXXXXXXXX' in the ServiceMode
- [WCF] Could not find default endpoint element that references contract 'xx' in the ServiceModel
- "Could not find default endpoint element that references contract "的解决
- 解决 关于Silverlight使用WCF时抛出异常 Could not find default endpoint element that references contract...
- Struts2的Invalid action class configuration that references an unknown class或者Could not find action
- The AssetBundle could not be loaded because it references scripts that are not compatible ...
- Could not find schema information for the element 'supportedRuntime'.
- Find the element that appears once
- Find the element that appears once
- Unable to instantiate default tuplizer/Could not find a getter for orders in class
- could not find the adb
- Swift: could not find an overload for '+' that accepts the supplied arguments
- Python安装PIL遇到‘Could not find a version that satisfies the requirement PIL’
- python环境选择和安装,解决could not find a version that satisfies the requirement tensorflow
- mac 安装 tensorflow 提示 Could not find a version that satisfies the requirement
- Could not find schema information for the element 'log4net' 在Message中显示可不理
- could not be added to the element
- 根据点击头像的手势获取自定义Cell 的属性, UITableViewCell, 头像, iOS
- 14周(二维数组元素*3输出)
- 提高写代码的能力(转载)
- Linux负载均衡软件LVS之二(安装篇)
- 颜色空间
- Could not find default endpoint element that references contract 'wcfXXXXXXXXXXX' in the ServiceMode
- jsp自定义标签开发
- RevitAPI:关于Curve.Distance(XYZ)方法
- 内存堆和栈的区别
- C# WinForm按钮简单美化
- Linux 磁盘挂载和mount共享
- .net字符串操作系列函数
- 第十四周项目一之折腾二维数组
- oracle 删除存储及调用存储的命令