입니다.이 모든 경우에 http를 사용하고 있는데 net.tcp와 함께 작업 할 때 참조를 추가 할 때바인딩 NetTcpBinding이있는 엔드 포인트에 대해 구성표 net.tcp와 일치하는 기본 주소를 찾을 수 없습니다. 등록 된 기본 주소 체계는 [http]
과 같은 오류가 발생합니다.일치하는 기본 주소를 찾을 수 없습니다 바인딩 NetTcpBinding이있는 엔드 포인트의 net.tcp 체계. 등록 된 기본 주소 체계는 [http]입니다.
내 Web.config의
<?xml version="1.0"?>
<configuration>
<system.web>
<compilation debug="true" targetFramework="4.0" />
</system.web>
<system.serviceModel>
<services>
<service behaviorConfiguration="servicebehave" name="WcfServ.Service1">
<endpoint address="" binding="netTcpBinding"
bindingConfiguration="" name="nettcp" contract="WcfServ.IService1" />
<endpoint address="mex" binding="mexTcpBinding" bindingConfiguration=""
name="mex" contract="IMetadataExchange" />
<host>
<baseAddresses>
<add baseAddress="net.tcp://localhost:51560/Service1.svc" />
<add baseAddress="http://localhost:8080/Service1.svc"/>
</baseAddresses>
</host>
</service>
</services>
<bindings>
<netTcpBinding>
<binding name="netTcpBinding">
<security mode="Transport" />
</binding>
</netTcpBinding>
</bindings>
<behaviors>
<serviceBehaviors>
<behavior name="servicebehave">
<!-- To avoid disclosing metadata information, set the value below to false and remove the metadata endpoint above before deployment -->
<serviceMetadata httpGetEnabled="false"/>
<!-- To receive exception details in faults for debugging purposes, set the value below to true. Set to false before deployment to avoid disclosing exception information -->
<serviceDebug includeExceptionDetailInFaults="false"/>
</behavior>
</serviceBehaviors>
</behaviors>
<serviceHostingEnvironment multipleSiteBindingsEnabled="false" />
</system.serviceModel>
<system.webServer>
<modules runAllManagedModulesForAllRequests="true"/>
</system.webServer>
</configuration>
내가 잘못하고있는 중이 야 어디 사람이 말해 줄래?
당신 뿌리고 환경은 무엇입니까? – Alex
IIS 6.0이지만 서비스를 추가 할 때 오류가 발생합니다. –