WCF分布式开发常见错误(5)Could not find a base address that matches scheme
2009-03-18 00:29
441 查看
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>
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>
相关文章推荐
- WCF分布式开发常见错误(5)Could not find a base address that matches scheme
- Could not find a base address that matches scheme http for the endpoint with binding MetadataExchangeHttpBinding.
- WCF分布式开发常见错误(4):The type or namespace name 'DataContract' could not be found DataContract找不到
- WCF分布式开发常见错误(23):This could be due to the fact that the server certificate is not configured properly with HTTP.SYS
- WCF分布式开发常见错误(24):Could not establish trust relationship for the SSL/TLS secure channel with authority
- Android开发错误——Could not find class
- Android开发错误——Could not find class
- Linux pip 安装模块时,一直黄字错误:Could not find a version that satisfies the requirement
- WCF分布式开发常见错误(24):Could not establish trust relationship for the SSL/TLS secure channel with authority(转)
- “Could not find any version that matches com.android.support:support-v4:20.0.+”
- WCF分布式开发常见错误(25):The certificate 'CN=WCFHTTPS' must have a private key that is capable of key exchange
- WCF分布式开发常见错误(4):could not be found DataContract
- Could not find any version that matches com.android.support:appcompat-v7:+
- AS build常见错误:Could not find method ?apply() for arguments
- Android开发错误——Could not find class
- WCF分布式开发常见错误(3):客户端调用服务出错:You have tried to create a channel to a service that does not support .Net Framing
- Android开发错误——Could not find class
- Android开发错误——Could not find class
- Dnn中常见的一个错误及可能原因:Could not find stored procedure 'dbo.GetPortals'
- Android开发错误——Could not find class