.net 找不到与绑定MetadataExchangeTcpBinding的终结点的scheme net.tcp匹配的基址
我的Web.Config在这里:.net 找不到与绑定MetadataExchangeTcpBinding的终结点的scheme net.tcp匹配的基址,.net,wcf,wcf-binding,.net,Wcf,Wcf Binding,我的Web.Config在这里: <system.serviceModel> <behaviors> <serviceBehaviors> <behavior name="MyServiceTypeBehaviors" > <serviceMetadata httpGetEnabled="true" /> </behavior> </serviceBehaviors> <
<system.serviceModel>
<behaviors>
<serviceBehaviors>
<behavior name="MyServiceTypeBehaviors" >
<serviceMetadata httpGetEnabled="true" />
</behavior>
</serviceBehaviors>
</behaviors>
<bindings>
<basicHttpBinding>
<binding name="basicHttpBindingConfig"/>
</basicHttpBinding>
<netTcpBinding>
<binding name="netTcpBindingConfig"/>
</netTcpBinding>
</bindings>
<services>
<service name="testService.RaptorAPI">
<endpoint address="mex" binding="mexTcpBinding" contract="testService.IRaptorAPI" listenUriMode="Explicit"/>
<endpoint address="" binding="netTcpBinding" contract="testService.IRaptorAPI" bindingConfiguration="netTcpBindingConfig">
<identity>
<dns value="localhost" />
</identity>
</endpoint>
<host>
<baseAddresses>
<add baseAddress="net.tcp://ccs-labs.com:802"/>
<add baseAddress="http://ccs-labs.com:801"/>
</baseAddresses>
</host>
</service>
</services>
更新1
net.tcp已绑定到IIS,相应的服务正在运行
是否有人可以找到并更正错误“无法找到与绑定MetadataExchangeTcpBinding的终结点的scheme net.tcp匹配的基址。注册的基址方案为[http]。”您的tcp似乎未启用。下面的帖子可能会帮助你找到解决方案。
您的TCP似乎未启用。下面的帖子可能会帮助你找到解决方案。 请尝试以下步骤