2
Silverlight 3.0应用程序尝试调用WCF服务,但应用程序甚至无法建立与端点的连接。我检查过网址等等,每件事情都很好。从其他工具(如浏览器)访问服务。当我调试在Visual Studio应用程序时,该服务的第一个电话如下输出由转储:Silverlight WCF服务调用异常
'sllauncher.exe' (Silverlight): Loaded 'C:\Program Files\Microsoft Silverlight\4.0.50401.0\System.ServiceModel.dll'
A first chance exception of type 'System.IO.FileNotFoundException' occurred in mscorlib.dll
当上述错误发生时,应用程序启动要等到超时。
此外,Silverlight应用程序是在浏览器之一提升权限设置为true,所以不需要crossdomain.xml。
我不知道上面的System.IO.FileNotFoundException是否可以通过做某些事情来详细说明?或者可能你可能已经想出了这个问题。
无论如何。