English 中文(简体)
WCF 无法阅读运输连接的数据
原标题:WCF unable to read data from transport connection

我对我的全球合作框架申请感到不安。 一管理客户申请,并试图与服务器连接,但以下例外:

由于无法从运输连接中读到数据,边远的东道国强行关闭了现有的连接。

when i debug from the system where the service is hosted the application runs fine. When i tried to debug it from an other pc i get this error. from this other PC i can open the WSDL file (of the server application) in the browser so the server can be found.

问题回答

我同意用户1039947——绝对能够进行终端到终端的追查,因为这一错误信息意味着大约8 000个不同的问题,其中没有一个问题(至少表面)与关闭的联系有关。

尽管如此,一旦你看到了这些痕迹,或者由于某种原因,你无法进行追踪(但这是你的服务,因此我想象你能够这样做),我发现的主犯常常是:

  1. Binding mismatch
  2. Using an interface or abstract type in your data contract
  3. Not using data attributes on your properties and classes when they inherit from an interface or abstract class.

至少你知道你重新打了服务器。 如果你能够拿到追查记录,而且其中没有一个是问题,那么你也总是可以打开两个视力演播室的事例,开始一个服务主办机构新的清点会议,然后从客户的脱节会议开始。 然后,你可以追踪处理例外情况的哪里被推翻。 通常在数据序列化中(即第2和第3号)。





相关问题
Anyone feel like passing it forward?

I m the only developer in my company, and am getting along well as an autodidact, but I know I m missing out on the education one gets from working with and having code reviewed by more senior devs. ...

NSArray s, Primitive types and Boxing Oh My!

I m pretty new to the Objective-C world and I have a long history with .net/C# so naturally I m inclined to use my C# wits. Now here s the question: I feel really inclined to create some type of ...

C# Marshal / Pinvoke CBitmap?

I cannot figure out how to marshal a C++ CBitmap to a C# Bitmap or Image class. My import looks like this: [DllImport(@"test.dll", CharSet = CharSet.Unicode)] public static extern IntPtr ...

How to Use Ghostscript DLL to convert PDF to PDF/A

How to user GhostScript DLL to convert PDF to PDF/A. I know I kind of have to call the exported function of gsdll32.dll whose name is gsapi_init_with_args, but how do i pass the right arguments? BTW, ...

Linqy no matchy

Maybe it s something I m doing wrong. I m just learning Linq because I m bored. And so far so good. I made a little program and it basically just outputs all matches (foreach) into a label control. ...

热门标签