WCF分布式开发常见错误(5)Could not find a base address that matches scheme
来源:互联网 发布:java注解类 编辑:程序博客网 时间:2024/05/17 13:44
Posted on 2009-03-18 00:29 Frank Xu Lei 阅读(448) 评论(0) 编辑 收藏 网摘 所属分类: WCF分布式开发常见错误
WCF分布式应用开发,托管宿主配置终结点错误:找不到匹配式样http的基地址,
Could not find a base address that matches scheme http for the endpoint with binding MetadataExchangeHttpBinding. Registered base address schemes are [].
如图:
解决办法:打开托管宿主配置文件,添加基地址节点,与配置文件里终结点地址一致即可。
<host>
<baseAddresses>
<add baseAddress="http://localhost:8001/"/>
<add baseAddress="net.tcp://localhost:8002/"/>
</baseAddresses>
</host>
【老徐的博客】
【作者】:Frank Xu Lei
【地址】:http://www.cnblogs.com/frank_xl/archive/2009/03/18/1415007.html
- WCF分布式开发常见错误(5)Could not find a base address that matches scheme
- WCF分布式开发常见错误(23):This could be due to the fact that the server certificate is not configured properly with HTTP.SYS
- WCF分布式开发常见错误(3):客户端调用服务出错:You have tried to create a channel to a service that does not support .Net Framing
- WCF分布式开发常见错误(24):Could not establish trust relationship for the SSL/TLS secure channel with authority
- WCF分布式开发常见错误(4):The type or namespace name 'DataContract' could not be found DataContract找不到
- “Could not find any version that matches com.android.support:support-v4:20.0.+”
- Could not find any version that matches com.android.support:appcompat-v7:+
- WCF分布式开发常见错误(25):The certificate 'CN=WCFHTTPS' must have a private key that is capable of key exchange
- WCF分布式开发常见错误(28):The requested upgrade is not supported by...
- [WCF] Could not find default endpoint element that references contract 'xx' in the ServiceModel
- Android Studio项目运行后Gradle报错Could not find any version that matches com.android.support:support-v4
- Could not find conduit initiator for address
- WCF分布式开发常见错误解决(1):An error occurred while attempting to find services at...添加服务引用出错
- could not find a non-generic method 错误修正
- 关于rails的 Could not find a JavaScript runtime.错误
- rails3.2 报Could not find a JavaScript runtime错误
- WCF分布式开发常见错误(20):TimeoutException was unhandled
- WCF分布式开发常见错误(17):无法启动MSMQ服务
- WCF分布式开发步步为赢(4):WCF服务可靠性传输配置与编程开发
- WCF分布式开发步步为赢(3)WCF服务元数据交换、配置及编程开发
- WCF分布式开发常见错误解决(6)Service 'WcfServiceApp.WCFService' has zero application
- WCF分布式开发步步为赢(2)自定义托管宿主WCF解决方案开发配置过程详解
- Ubuntu常用命令列表
- WCF分布式开发常见错误(5)Could not find a base address that matches scheme
- WCF分布式开发常见错误(4):The type or namespace name 'DataContract' could not be found DataContract找不到
- c3p0与dbcp 数据源配置方式
- WCF分布式开发步步为赢(1):WCF分布式框架基础概念
- WCF分布式开发常见错误(3):客户端调用服务出错:You have tried to create a channel to a service that does not support .Net Framing
- WCF分布式开发常见错误(2)无法从传输连接中读取数据: 远程主机强迫关闭了一个现有的连接。。
- WCF分布式开发常见错误解决(1):An error occurred while attempting to find services at...添加服务引用出错
- 开发常见错误解决(7)连接到SQL Server 2005出错
- WSE3.0构建Web服务安全(4):MTOM消息传输优化和文件上传、下载