Nelson Rothermel
Nelson Rothermel

Reputation: 9736

WCF "The server did not provide a meaningful reply"

I am out of ideas here, so I'm hoping someone can help. Here is what I've got:

Here's the endpoint config:

<endpoint address="" binding="basicHttpBinding" contract="Enterprise.IMyService" bindingNamespace="http://ourdomain.com/MyService/">
  <identity>
    <dns value="localhost" />
  </identity>
</endpoint>

Anything else I can try? It's probably a simple setting somewhere, but I can't figure it out.

Edit:

The raw fiddler response:

HTTP/1.1 202 Accepted
Date: Thu, 15 Apr 2010 19:02:45 GMT
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
X-AspNet-Version: 2.0.50727
Cache-Control: private
Content-Length: 0

Upvotes: 3

Views: 4742

Answers (1)

Nelson Rothermel
Nelson Rothermel

Reputation: 9736

I figured it out! It had nothing to do with WCF. When I moved it to the server the database connection string was no longer valid. The error logging (to e-mail) configuration also was no longer valid and was eating the exception. It took 15 seconds to respond because that's how long the SQL server connection took to time out.

Upvotes: 1

Related Questions