My colleague has an app that hosts a simple WCF service with a net.tcp endpoint. I can add the service reference to any app I create using the address net.tcp://192.168.0.22:9999/GSS-POS/QueryDispatcher/mex
However, when he tries to add the service reference to an app running on his machine he immediately gets a socket error 10045. We've tried using both net.tcp://localhost:9999/GSS-POS/QueryDispatcher/mex
and
net.tcp://192.168.0.22:9999/GSS-POS/QueryDispatcher/mex
He's tried re-installing Visual Studio 2008, Service Pack 1 and XP Service Pack 3 all to no avail. Can anybody provide any pointers?
UPDATE: This appears as though it is related to Visual Studio. By using the WCF Client test app, it is possible to see the service. It seems as though VS is having the problem adding the service reference.
UPDATE 2: Adding a reference with VS 2008 works with named pipe and http transport. The problem only manifests itself when trying to add a service reference which utilises a net.tcp endpoint.
Best regards,
Simon