Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>You could try enabling WCF tracing on the server. Insert this <strong>before</strong> the <code>&lt;/system.serviceModel&gt;</code> line:</p> <pre><code>&lt;diagnostics&gt; &lt;messageLogging logEntireMessage="true" logMalformedMessages="true" logMessagesAtServiceLevel="true" logMessagesAtTransportLevel="false" maxMessagesToLog ="3000" /&gt; &lt;/diagnostics&gt; </code></pre> <p>Insert this <strong>after</strong> the <code>&lt;/system.serviceModel&gt;</code> line:</p> <pre><code>&lt;system.diagnostics&gt; &lt;sharedListeners&gt; &lt;add name="sharedListener" type="System.Diagnostics.XmlWriterTraceListener" initializeData="c:\logs\tracelog.svclog" /&gt; &lt;/sharedListeners&gt; &lt;sources&gt; &lt;source name="System.ServiceModel" switchValue="Verbose, ActivityTracing" &gt; &lt;listeners&gt; &lt;add name="sharedListener" /&gt; &lt;/listeners&gt; &lt;/source&gt; &lt;source name="System.ServiceModel.MessageLogging" switchValue="Verbose"&gt; &lt;listeners&gt; &lt;add name="sharedListener" /&gt; &lt;/listeners&gt; &lt;/source&gt; &lt;source name="ApplicationLogging" switchValue="Information" &gt; &lt;listeners&gt; &lt;add name="sharedListener" /&gt; &lt;/listeners&gt; &lt;/source&gt; &lt;/sources&gt; &lt;/system.diagnostics&gt; </code></pre> <p>After you duplicate the error, start the <a href="http://msdn.microsoft.com/en-us/library/ms732023.aspx" rel="nofollow noreferrer">WCF tracing tool</a> and open the log file. There is probably some exception occurring.</p> <p>-- EDIT --</p> <p>Well, that's an interesting error message. It leads to more Google results:</p> <ol> <li><a href="https://stackoverflow.com/questions/323551/http-bad-request-error-when-requesting-a-wcf-service-contract">Another stackoverflow question</a></li> <li><a href="http://social.msdn.microsoft.com/Forums/en-US/wcf/thread/123f0d20-a018-48b0-ab92-4aae749f2d5e/" rel="nofollow noreferrer">Could be fixed in next release of Windows 7</a></li> <li><a href="https://stackoverflow.com/questions/1326816/bad-response-400-with-a-wcf-streaming-service-configured-programmatically">TransferMode.StreamedResponse</a></li> </ol>
 

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