I've read the many other posts, but none have been able to help me. I'm running a WCF IIS project in one instance of Visual Studio, and in another I have a web forms client. The above error is what I get when I run both locally and the site tries to connect to the service. The EXACT same WCF code running on the server works when the same client running locally connects to it. I can't figure out why. I've tried to enable tracing but cannot get a file to generate. Here's my client config
<client>
<endpoint address="http://localhost:64974/Service1.svc/ws" binding="wsHttpBinding" bindingConfiguration="WSHttpBinding_IService" contract="ServiceReference1.IService" name="WSHttpBinding_IService">
<identity>
<dns value="host"/>
</identity>
</endpoint>
</client>
and here's the WCF config
<services>
<service name="Service1">
<endpoint address="ws" binding="wsHttpBinding" contract="IService">
<identity>
<dns value="host"/>
</identity>
</endpoint>
</service>
</services>
I've changed the service names to remove private data