Note that there are some explanatory texts on larger screens.

plurals
  1. POThis could be due to the service endpoint binding not using the HTTP protocol
    primarykey
    data
    text
    <p>I have a WCF Service running fine on my local machine. I put it on the servers, and I am receiving the following error:</p> <blockquote> <p>An error occurred while receiving the HTTP response to <a href="http://xx.xx.x.xx:8200/Services/WCFClient.svc" rel="noreferrer">http://xx.xx.x.xx:8200/Services/WCFClient.svc</a>. This could be due to the service endpoint binding not using the HTTP protocol. This could also be due to an HTTP request context being aborted by the server (possibly due to the service shutting down). See server logs for more details.]</p> </blockquote> <p>I have gone to the service in the url and it is working correctly. All I am doing for the function is returning a string to an image name, so the data being passed isn't a lot. I have traced the log and it gives me the same information. Here is my client config:</p> <pre><code>&lt;binding name="basicHttpBinding_IWCFClient" closeTimeout="00:01:00" openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:01:00" bypassProxyOnLocal="false" hostNameComparisonMode="StrongWildcard" maxBufferPoolSize="2147483647" maxReceivedMessageSize="2147483647" messageEncoding="Text" textEncoding="utf-8" useDefaultWebProxy="true" allowCookies="false"&gt; &lt;readerQuotas maxDepth="2147483647" maxStringContentLength="2147483647" maxArrayLength="2147483647" maxBytesPerRead="2147483647" maxNameTableCharCount="2147483647" /&gt; &lt;security mode="None"&gt; &lt;transport clientCredentialType="None" proxyCredentialType="None" realm="" /&gt; &lt;message clientCredentialType="UserName" algorithmSuite="Default" /&gt; &lt;/security&gt; &lt;/binding&gt; &lt;endpoint name="basicHttpBinding_IWCFClient" address="http://localhost:4295/Services/WCFClient.svc" binding="basicHttpBinding" bindingConfiguration="basicHttpBinding_IWCFClient" behaviorConfiguration="WCFGraphicManagementTool.Services.ClientBehavior" contract="WCFClient.IWCFClient" /&gt; </code></pre> <p>Here is my server config:</p> <pre><code>&lt;service behaviorConfiguration="WCFGraphicManagementTool.Services.WCFClientBehavior" name="WCFGraphicManagementTool.Services.WCFClient"&gt; &lt;endpoint name="basicHttpBinding_IWCFClient" address="" binding="basicHttpBinding" contract="WCFGraphicManagementTool.Contracts.IWCFClient" /&gt; &lt;endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange" /&gt; &lt;/service&gt; &lt;behavior name="WCFGraphicManagementTool.Services.WCFClientBehavior"&gt; &lt;dataContractSerializer maxItemsInObjectGraph="2147483647" /&gt; &lt;serviceThrottling maxConcurrentCalls="120" maxConcurrentSessions="120" maxConcurrentInstances="120" /&gt; &lt;serviceMetadata httpGetEnabled="true" /&gt; &lt;serviceDebug includeExceptionDetailInFaults="true" /&gt; &lt;/behavior&gt; </code></pre> <p>Would it be a setting on the server since it works on my local machine?</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload