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=""
  binding="basicHttpBinding"
  contract="MyNamespace.IMyContract" >
<identity>
<dns value="localhost" />
</identity>
</endpoint>

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

Comments

Popular posts from this blog

SharePoint 2013: Error updating managed account credentials

How can I call a JIRA api through Powershell?