views:

300

answers:

0

Hi,

I have developed a WCF Service library and I am hosting it in IIS 7.5 I am able to test it using the VS test client but whenever i attempt to invoke it using a client in another solution i get this error:

System.ServiceModel.CommunicationException Could not connect to http://localhost/EvalServiceSite2/Eval.svc/ws. TCP error code 10013: An attempt was made to access a socket in a way forbidden by its access permissions 192.168.2.10:80.

Inner Exception: {"Unable to connect to the remote server"}

I have IIS 7.5 in the same computer.

I never had any issues using the old xml web services but thios is different.

How can I succesfully interact with a WCF service library hosted in IIS?

thanks.

-- Issue solved. Reinstalling IIS fixed it. thanks