silverlight 4在firefox和chrome中不工作
问题描述:
我创建了Silverlight WCF RIA应用程序。我使用Entity Framework 4进行数据访问。silverlight 4在firefox和chrome中不工作
我测试我的应用程序在IE 8上,它工作正常,但当我测试Firefox 4或Chrome 10时,我得到异常,当我打电话给RIA服务。 (即使是返回数据的服务也会出错)
我想知道,如何让Silverlight 4应用程序在IE,Firefox和Chrome上运行?
错误:
-- Exception -->
Load operation failed for query 'GetData'. Exception of type 'System.ServiceModel.DomainServices.Client.DomainOperationException' was thrown.
-- stack -->
at System.ServiceModel.DomainServices.Client.WebDomainClient`1.EndQueryCore(IAsyncResult asyncResult)
at System.ServiceModel.DomainServices.Client.DomainClient.EndQuery(IAsyncResult asyncResult)
at System.ServiceModel.DomainServices.Client.DomainContext.CompleteLoad(IAsyncResult asyncResult)
答
至于我能记得。这是Silverlight运行时的一个错误。我们称微软为这种情况,他们也表示这是一个错误,没有更多的回应。我们决定放弃对Firefox的支持,并只使用IE浏览器。
请发布例外 – 2011-04-06 16:19:43
我刚刚添加了错误消息和堆栈跟踪。 – Anonymous 2011-04-06 16:24:20
我不认为它的firefox或chrome有任何问题,我们的RIA服务工作正常,主要是因为URL和其中的一些字符,你如何启动你的浏览器和它的页面。 – 2011-04-06 16:25:53