tags:

views:

8

answers:

0

I'm having troubles connecting to a wcf service hosted in IIS7. The service uses a tcp binding. The problem is as follows: if I have the folder with the service files in my inetpub\wwwroot and I convert it in IIS to an application everything works fine. However, when I place the folder in a subdirectory somewhere under my wwwroot then I can only access the service locally. When I try to connect with wcftestclient I get this error:

'Error: Cannot obtain Metadata from net.tcp://*/Service.svc ... No connection could be made because the target machine actively refused it'