Getting “Unrecognized error 109 (0x6d)” which can be “fixed” by changing web.config

五迷三道 提交于 2019-12-01 04:23:43

Have a look at this...

http://blogs.msdn.com/b/joncole/archive/2010/06/29/smsvchost-exe-event-log-id-8-an-error-occurred-while-dispatching-a-duplicated-socket-this-handle-is-now-leaked-in-the-process.aspx

In my case restarting net tcp listener and port sharing service helped. The article has a nice overview of most likely causes too.

I have got the same error and found a solution to my case, try it out and check if it resolve yours.

In my case, there was a unrecognized data being passed through WCF. It was a enumerator that was not registered.

E.g (c#):

enum MyEnum { A = 1, B = 2 }

And then I use a MyEnum object with value 3 (any that dont exist in enum). So, WCF cant understand this value and gave me this error.

If you are using big messages you could try changing the transfer mode from buffered to streamed: http://msdn.microsoft.com/en-us/library/ms731913.aspx

It has solved our problems.

Regards

I received this error because I was returning a DataTable from my service call and I did not set the TableName property.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!