Questions tagged [net.tcp]

net.tcp is a TCP-based network protocol for high-performance communication provided by Windows Communication Foundation (WCF).

212 questions
92
votes
24 answers

This could be due to the service endpoint binding not using the HTTP protocol

I have a WCF Service running fine on my local machine. I put it on the servers, and I am receiving the following error: An error occurred while receiving the HTTP response to http://xx.xx.x.xx:8200/Services/WCFClient.svc. This could be due to…
Matt Schubert
  • 1,003
  • 1
  • 10
  • 12
65
votes
4 answers

Enabling net.tcp in IIS7

How can I make IIS handle net.tcp connections?
Jayesh
  • 3,891
  • 11
  • 55
  • 83
35
votes
10 answers

Could not find a base address that matches scheme net.tcp

I have moved my file transfer service from basicHttpBinding to netTcpBinding as I am trying to set up a duplex mode channel. I have also started my net.tcp port sharing service. I am currently in dev and am self hosting on an xp box until we move…
Peter
  • 5,251
  • 16
  • 63
  • 98
29
votes
7 answers

Setting up WCF TCP service in a web application

I've been battling with this for days, literally going through a hundred articles giving partial guidelines on how to set up a WCF TCP based service in a web application. If someone can help me, I will make this question into a complete…
Niels Brinch
  • 3,033
  • 9
  • 48
  • 75
21
votes
7 answers

The server has rejected the client credentials

I have a WCF service with net.tcp binding, hosted on the server as a Windows service. I am not able to access this service. However I was able to do so, when I hosted it on my local network. Error Recieved Message:** The server has rejected the…
Bravo
  • 3,341
  • 4
  • 28
  • 43
18
votes
2 answers

Detect socket disconnect in WCF

We're building a WCF server (.NET 4.0). It will only use net.tcp transport. When a client closes the TCP connection, the server gets unhandled CommunicationException, and terminates. Q1. How do I handle the CommunicationException so the server does…
Soonts
  • 20,079
  • 9
  • 57
  • 130
17
votes
1 answer

Joining an SSL .crt certificate with a private key for use with WCF's Net.Tcp binding

I have a GoDaddy-issued SSL certificate in the .crt format. Also I have the previous expired certificate in the .pfx format which includes a private key. Now I'm facing the problem of joining the original private key with the issued certificate to…
Ondrej Tucny
  • 27,626
  • 6
  • 70
  • 90
16
votes
5 answers

How to check the availability of a net.tcp WCF service

My WCF server needs to go up and down on a regular basis, the client sometimes uses the server, but if it is down the client just ignore it. So each time I need to use the server services I check the connection state and if it's not open I open…
Pablo Retyk
  • 5,690
  • 6
  • 44
  • 59
16
votes
1 answer

WCF: Why does passing in a remote endpoint fail?

WCF: Why does passing in a remote endpoint fail when passing the same endpoint via the configuration file works? This works: Using con As New OfferingTap.OfferingTapClient(New ServiceModel.InstanceContext(callback),…
Jonathan Allen
  • 68,373
  • 70
  • 259
  • 447
16
votes
2 answers

How to detect client-side if the server disconnects me?

I have a WCF self-hosted service with a net.tcp DuplexChannel. On the server I run the following to disconnect a client: ((ICommunicationObject)client.CallbackChannel).Close(); This works fine but how do I detect on the client that it has been…
Andreas Zita
  • 7,232
  • 6
  • 54
  • 115
14
votes
1 answer

net.tcp service is unavailable for the protocol of the address

Our application is hosted in IIS 7.0. It exposes endpoints over net.tcp protocol. But we kept running into the following exception: EndpointNotFoundException: The message could not be dispatched because the service at the endpoint address …
smwikipedia
  • 61,609
  • 92
  • 309
  • 482
14
votes
2 answers

WCF Net.tcp with sspi fails unless client and server using same windows Identity

I have a WCF Service being hosted by a windows service. The client app succeeds if I log on to the client machine using the same credentials as the service is running under, but it fails with an exception if I am logged in with any other valid…
Charles Bretana
  • 143,358
  • 22
  • 150
  • 216
13
votes
7 answers

How to solve "The ChannelDispatcher is unable to open its IChannelListener" error?

I'm trying to communicate between WCF hosted in Windows Service and my service GUI. The problem is when I'm trying to execute OperationContract method I'm getting "The ChannelDispatcher at 'net.tcp://localhost:7771/MyService' with contract(s)…
kyrisu
  • 4,541
  • 10
  • 43
  • 66
12
votes
5 answers

The server has rejected the client credentials, WCF as Windows Service

I am able to connect to my WCF service with the Win-form application, however i am not able to do so with my windows service. Whenever i fire open() to the proxy it throws the following error The server has rejected the client credentials Inner…
Bravo
  • 3,341
  • 4
  • 28
  • 43
11
votes
1 answer

How to force a net.tcp mex endpoint (mexTcpBinding) to participate in port sharing?

I have a WCF service which is hosted as a Windows Service. We would like to enable a mex endpoint at the same address (but with a '/mex' suffix). I have been trying to do this (unsuccessfully) using the following…
Damian Powell
  • 8,655
  • 7
  • 48
  • 58
1
2 3
14 15