WCF "The server did not provide a meaningful reply"

Posted by Nelson on Stack Overflow See other posts from Stack Overflow or by Nelson
Published on 2010-04-15T19:18:38Z Indexed on 2010/04/15 19:23 UTC
Read the original article Hit count: 956

Filed under:
|
|
|

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

  • A WCF service that only has a basicHttpBinding endpoint.
  • There is only a service interface, all other [DataMember], [FaultContract] are concrete types.
  • When I run it straight from Visual Studio (using WCF Test Client or my custom app) everything works (I send a request and get a response). This usually takes a second or two.
  • I published it to an IIS 6 server.
  • I can successfully open http://server/WebService/WebService.svc?WSDL
  • I can successfully open http://server/WebService/WebService.svc/mex (same output as above)
  • The WCF Test Client and my custom app can successfully add the service reference
  • Whenever I try to call a service method it waits for about 15 seconds and I get the dreaded "no meaningful reply" error.
  • I ran Fiddler and I got a 202 result, which would seem like a success.
  • It's not returning more than 65536 bytes
  • It's returning an array, but it is small
  • I tried remote debugging, but can't get that to work, probably due to a firewall (but port 80 is open, I can get the WSDL)
  • I enabled system.diagnostics, nothing.
  • I have an IErrorHandler which normally logs things, nothing.

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.

© Stack Overflow or respective owner

Related posts about wcf

Related posts about endpoint