Click here to Skip to main content
15,892,072 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am creating two WCF windows services in same port number, its shows "There was no endpoint listening at net.tcp://localhost:9000/RockLogDataAccessService that could accept the message. This is often caused by an incorrect address or SOAP action. See InnerException, if present, for more details." this error.

Server side app.config file given below:
HTML
<client>
      <endpoint address="net.tcp://localhost:9000/ComperAppService"
                binding="netTcpBinding"
                contract="ComperAppServiceReference.IComperAppService"
                name="NetTcpBinding_IComperAppService">
        <identity>
          <dns value="localhost" />
        </identity>
      </endpoint>
      <endpoint address="net.tcp://localhost:9000/ComperDataAccessService"
                binding="netTcpBinding"
                contract="ComperDataAccessServiceReference.IComperDataAccessService"
                name="NetTcpBinding_IComperDataAccessService">
        <identity>
          <dns value="localhost" />
        </identity>
      </endpoint>
</Client>
Posted
Updated 27-Aug-12 2:50am
v3
Comments
Shmuel Zang 27-Aug-12 10:24am    
The given configuration section is a client-side configuration. I assume you have the same endpoints in the services configuration...

1 solution

As I realized from the error, you sent a message to the net.tcp://localhost:9000/RockLogDataAccessService address but, you defined endpoints only at the net.tcp://localhost:9000/ComperAppService and the net.tcp://localhost:9000/ComperDataAccessService addresses...

 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900