Tuesday, 12 August 2014

WCF: A binding instance has already been associated to listen URI http://site/_vti_bin/restservice.svc

The simple resolution to this was to change my endpoint address to a relative url.

The endpoint address was set as an empty string

<endpoint address=""
  contract="MyNamespace.IMyContract" >
<dns value="localhost" />

I changed the address to the relative path (_vti_bin/Folder/MyService.svc) to resolve the problem.

No comments:

Post a comment