Crazy Visual Studio
-
Hi All, Has anyone else in the group come across this issue before? In visual studio, I have created a service app using net.tcp. In my client app, I want to add a service reference, and have been using the "add service reference", however, I always get the following error message: Metadata contains a reference that cannot be resolved: 'net.tcp://localhost:9999/GSS-POS/QueryDispatcher'. Could not connect to net.tcp://localhost:9999/GSS-POS/QueryDispatcher. The connection attempt lasted for a time span of 00:00:00. TCP error code 10045: The attempted operation is not supported for the type of object referenced. The attempted operation is not supported for the type of object referenced If the service is defined in the current solution, try building the solution and adding the service reference again. However, my colleague can add a service reference using the same instance of the server app that is running on my PC. Strangely enough, if I run the server as net.pipe or http, I can add a the reference. It is just the net.tcp that fails. I have tried the wcftestclient (in C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\), and that finds the service, and svcutil will find the service, but complains about the server not supporting disco. So. I am stuck. I dont know what to do next. I have even reinstalled VS2008, & SP1, .NET 3.5SP1, and XP SP3... disabled the windows firewall... and none of these have worked. Has anyone else been here before, and got out of it? :confused: Thanks