简体   繁体   English

在客户端计算机上没有从Silverlight发送WCF请求

[英]No WCF request is sent from Silverlight on client machine

My SL application is commercial and working just fine on hundreds of machines. 我的SL应用程序是商业化的,可以在数百台机器上正常工作。

SL is using a WCF service and it works as expected, but today I observed behavior on client machine, where literally no call is made to server. SL正在使用WCF服务,它按预期工作,但今天我观察到客户端计算机上的行为,实际上没有对服务器进行调用。

After you click button that sends a call, some error occures, and no record about WCF call is created in Fiddler. 单击发送调用的按钮后,会发生一些错误,并且在Fiddler中没有创建有关WCF调用的记录。

Error is: 错误是:

[HttpWebRequest_WebException_RemoteServer]
Arguments: NotFound
Debugging resource strings are unavailable...

I read about this error that people recommend to use Fiddler, but as I say there is no call displayed in Fiddler 我读到了人们推荐使用Fiddler的错误,但正如我所说,Fiddler中没有显示任何调用

So problem is worse than I thought initially. 所以问题比我最初的想法更糟糕。

It comes and goes. 它来来去去。 Currently we have found a working solution that fixes the problem after it appears although it doesn't make any sense to me. 目前我们已经找到了一个可以解决问题的工作解决方案,虽然它对我没有任何意义。

For example if I get this error in chrome & mozilla & OOB version, launching a program in IE works, and after that chrome,mozilla & OOB start to work too. 例如,如果我在chrome&mozilla和OOB版本中出现此错误,则在IE中启动程序可以工作,然后在Chrome之后,mozilla和OOB也开始工作。

Thing is that same people who had this problem solved with this workaround experience it again in some days, like a week, with no apparent reason, and then combination of launches from various locations helps (usually IE helps the most). 事情就是这个解决方案解决了这个问题的人在某些日子里再次体验它,比如一周,没有明显的理由,然后来自不同地点的发布组合帮助(通常IE帮助最多)。

Any help appreciated, I start a bounty as its pretty sick bug and I need to fix it somehow. 任何帮助表示感谢,我开始赏金它作为它非常生病的bug,我需要以某种方式修复它。

Update 更新

Weird IE fix scenario: 奇怪的IE修复场景:

At some point OOB version gets into state where it doesn't send any WCF request to server. 在某些时候,OOB版本进入不向服务器发送任何WCF请求的状态。 (fiddler doesn't see it, server doesn't gets it). (fiddler没有看到它,服务器没有得到它)​​。 After launching web version in IE, and hitting the same button, that sends WCF request we get desired result in IE web version. 在IE中启动Web版本并点击相同的按钮后,发送WCF请求我们在IE Web版本中得到了所需的结果。

Without changing anything else, just relaunching OOB version which was in this buggest state before, makes OOB version work correctly. 在不更改任何其他内容的情况下,只需重新启动之前处于此错误状态的OOB版本,即可使OOB版本正常工作。 Its not reinstalled, not changed - nothing. 它没有重新安装,没有改变 - 没有。

This is what I call "IE cure" of this problem. 这就是我所谓的“IE治愈”这个问题。 So the question is what can IE launch potentiall change for OOB version? 那么问题是IE可以为OOB版本推出什么样的潜在变化?

According to this thread the message Debugging resources are unavailable appears when de client is not using the the Silverlight Developer Runtime. 根据此线程 ,当de client未使用Silverlight Developer Runtime时,将显示Debugging resources are unavailable的消息。

This means that the actual exception is hidden from you (and us) so the next step is to reproduce the error on a system that has the Silverlight Developer Runtime. 这意味着实际的异常对您(和我们)是隐藏的,因此下一步是在具有Silverlight Developer Runtime的系统上重现错误。

I found this article . 我找到了这篇文章 It might be worth it to check the certificate you are using (are you using a certificate) It is one of those things that is different with OOB apps and browsers. 检查您正在使用的证书(您使用的是证书)可能是值得的吗?这是与OOB应用程序和浏览器不同的其中一项。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM