Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

WCF - There was no endpoint listening at net.tcp://..../Querier.svc that could accept the message

WCF - There was no endpoint listening at net.tcp://myserver:9000/SearchQueryService/Querier.svc that could accept the message.

I have the net.tcp protocol enabled on the IIS application

Windows firewall is off

The net.tcp binding is set to port 9000 for the entire IIS application.

My web.config is very standard:

<system.serviceModel>
    <diagnostics>
      <messageLogging logMalformedMessages="true" logMessagesAtServiceLevel="false"
        logMessagesAtTransportLevel="true" />
    </diagnostics>
    <services>
      <service behaviorConfiguration="SearchQueryServiceBehavior" 
       name="Search.Querier.WCF.Querier">
        <endpoint address="mex" binding="mexHttpBinding" name="mexHttpEndpoint"
          contract="IMetadataExchange" />
        <endpoint binding="netTcpBinding" bindingConfiguration="" 
           name="netTcpEndpoint"
          contract="Search.Querier.WCF.IQuerier" />
      </service>
    </services>
    <behaviors>
      <serviceBehaviors>
        <behavior name="SearchQueryServiceBehavior">

          <serviceMetadata httpGetEnabled="true"/>

          <serviceDebug includeExceptionDetailInFaults="false"/>
        </behavior>
      </serviceBehaviors>
    </behaviors>
  </system.serviceModel>

And this very setup works on one server but not the other... What could be the problem?

Both servers, the working and non-working one are running IIS7. The only difference is the working box is Vista64 Sp2 and non working one is W2k864.

like image 860
Matt Avatar asked Sep 25 '09 19:09

Matt


1 Answers

I think that you are missing the net.tcp in the "Enable Protocols" list in the advanced settings of the site.

like image 138
Shiraz Bhaiji Avatar answered Oct 08 '22 22:10

Shiraz Bhaiji