Windows Vista Beta | WinVistaBeta.com - Message | a WCF error ... ServiceChannel is in a Faulted State.

January 05, 2009  
Subject: a WCF error ... ServiceChannel is in a Faulted State.
Group: microsoft.public.windows.developer.winfx.general
Date: 11/30/2006 11:37:00 PM
From: =?Utf-8?B?TW9iaWxlTWFu?= [Email Address Protection]

I have a little POC (proof of concept) WCF application whereby I use a
standard netTcpBinding and the code works on computer A, but does not work on
computer B (yes, they are on the same network ... one has IP 39 and the other
40).

My ABC's are: A) net.tcp://machineName:portNumber/BaseAddress/ZZ B)
netTcpBinding C) InterfaceName.

I've excluded the actual numbers and names above in the ABC's, but the
"format" is accurate. The fun part is the exact same code is installed onto
2 different client computers .... 1 can successfully use both TCP & HTTP
bindings to communicate to the WCF Service on the server. The 2nd computer
can only use HTTP ... TCP generates the following error:

"The communication object, System.ServiceModel.Channels.ServiceChannel,
cannot be used for communication because it is in a Faulted state."

Remember the same exact code is being used on both computers. Any ideas???
I've check the firewall ... it's configured the same for both machines. I've
also turned it off (even on the machine that is working correctly) to
eliminiate one possible speed bump.

Thanks for any suggestions on this.
--
Stay Mobile

Back