开发者

WCF Service won't execute incoming message

Why would WCF be able to receive a message just fine, yet freezes when it tries to execute the Operation on the server?

Specifically according to开发者_开发知识库 the Service Trace Viewer, it successfully opens the ServiceChannel and but is unable to open an InstanceContext or do any other action. No exceptions are thrown, it simply stops. What's really got me confused is that I setup my code just like I normally do, but, this service doesn't want to run, I have two other servers full of services that work great.

I'm thinking its a minute detail in the configuration somewhere that I missed, but I can't find it. Anybody have any suggestions of where I should start looking?

WCF Service won't execute incoming message


I figured it out, although I have to fault WCF for not behaving in an expected manner. The ManualFlowControlLimit was set to zero on all service hosts. I propose that WCF should have popped an exception or other notification of the limit reaching zero, at least in the trace logs if not the code itself. To that effect, i've also decided to open a case on Microsoft's Connect site to see what they think.

The reason it was set to zero is that we use a tool that we built to generate our WCF Services/Hosts/Bindings and it defaulted to zero, we are updating our tool to use the default value when it is set to zero.

Thank you all for your patient assistance!

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜