I have an wcf that uses an wsdusalhttpbinding
WSDualHttpBinding binding = new WSDualHttpBinding();
binding.MaxBufferPoolSize = int.MaxValue;
binding.MaxReceivedMessageSize = int.MaxValue;
binding.Security.Mode = WSDualHttpSecurityMode.None;
binding.Security.Message.ClientCredentialType = MessageCredentialType.None;
_host.AddServiceEndpoint(typeof(IService), binding, baseAddress + "/ws");
//Mex
ServiceMetadataBehavior smb = new ServiceMetadataBehavior();
smb.HttpGetEnabled = true;
_host.Description.Behaviors.Add(smb);
_host.Open();
Now this works on my computer and one of my colleagues but on some computers we get this error.
The stacktrace leads to this line.
_host.Open();
I dont understand why it would say WebHttpBinding the only endpoint I use for this service is the one I create with the code I wrote.