启用WCF的Silverlight应用程序在某些计算机上无法使用

启用WCF的Silverlight应用程序在某些计算机上无法使用

本文介绍了启用WCF的Silverlight应用程序在某些计算机上无法使用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨!

我在aspx页面中托管了silverlight应用程序.我使用C#框架4.0构建的服务.

它加载后,我可以通过WIN7计算机和一台Vista上的客户端界面进行wcf调用.在两个XP和另一个Vista上却没有.两个远景可能具有无法检查的不同SP. Silverlight应用程序始终加载,但是在进行第一个wcf调用时会出现问题.错误消息只是指启用了wcf的方法,并且未提供任何更多信息.我在其中一台XP机器上安装了Framework 4.0 CLR,以确保它已正确安装,但仍然无法正常工作.

我知道您可以使用证书(X509 ... ??),但它在WIN7上却可以在其他证书上使用,这似乎很奇怪.

我在Windows Server 2008 iis 7上托管的服务.这不是浏览器错误.我在各种计算机上尝试过ie 8,即9,莫兹,但这并没有归因于浏览器错误.

消息:

Hi!

I have a silverlight application hosted in an aspx page. Service i built with C# framwork 4.0.

It loads and I can make wcf calls via the client interface on a WIN7 machine and one Vista. On two XP and another Vista it doesn''t. The both vista''s might have different SP''s haven''t been able to check. The silverlight application always load but the problem occurs when the first wcf call is made. The errormessage is just referring to the wcf-enabled method and doesn''t give any more info. I installed framework 4.0 CLR on one of the XP-machines made sure it was installed properly but still it didn''t work.

I know you can work with certificates (X509...??) but it seems strange that it works on WIN7 but not the other ones.

The service i hosted on windows server 2008 iis 7. It is not a browser error. I have tried ie 8, ie 9, moz on the variuos machines and it dosn''t not come down to a browser error.

Message:

Detaljerad information om felet på webbsidan

Användaragent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; .NET4.0C; .NET4.0E)
Tidsstämpling: Tue, 30 Aug 2011 12:05:16 UTC


Meddelande: Unhandled Error in Silverlight Application [Async_ExceptionOccurred]
Arguments:
Debugging resource strings are unavailable. Often the key and arguments provide sufficient information to diagnose the problem. See http://go.microsoft.com/fwlink/?linkid=106663&Version=3.0.50106.0&File=System.dll&Key=Async_ExceptionOccurred   at System.ComponentModel.AsyncCompletedEventArgs.RaiseExceptionIfNecessary()
   at AgerusModelHandler.AgerusData.GetModelsCompletedEventArgs.get_Result()
   at AgerusModelHandler.MainPage.client_GetModelsCompleted(Object sender, GetModelsCompletedEventArgs e)
   at AgerusModelHandler.AgerusData.AgerusDatabasServiceClient.OnGetModelsCompleted(Object state)
Rad: 1
Tecken: 1
Kod: 0





任何想法将不胜感激.

谢谢,Fredrik





Any ideas would be greatly appreciated.

Thanks, Fredrik

推荐答案



这篇关于启用WCF的Silverlight应用程序在某些计算机上无法使用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-18 10:48