我为客户开发了一个SL2应用程序(其计算机通过组策略处于严重锁定状态).除了客户端之外,SL2应用程序对每个人都很好.
客户端正在使用WinXP + IE7并安装了SL2运行时.
在客户端的计算机上弹出以下错误:
Error: Unhandled Error in Silverlight
2 Application Code: 2103 Category:
InitializeError Message: 2103 An error
has occurred Code: 0
Run Code Online (Sandbox Code Playgroud)
客户端可以加载像http://silverlight.net这样的SLv1网站
客户端无法加载SLv2网站,例如:
客户看到的是一个空白的银色画布,但能够右键单击并调出silverlight首选项菜单.
alt text http://img6.imageshack.us/img6/1309/hardrockerror.jpg
有关如何调试此问题或有其他人遇到此问题的任何想法?
我应该补充一点,它在firefox下运行正常,但他们的IT部门不愿意将FF推广到所有机器上.环境必须是XP + IE7
标记:
<object data="data:application/x-silverlight-2," type="application/x-silverlight-2" width="100%" height="100%">
<param name="source" value="/ClientBin/RosterUI.xap"/>
<param name="onerror" value="onSilverlightError" />
<param name="background" value="white" />
<param name="minRuntimeVersion" value="2.0.31005.0" />
<param name="autoUpgrade" value="true" />
<param name="scaleMode" value="zoom" />
<a href="http://go.microsoft.com/fwlink/?LinkID=124807" style="text-decoration: none;">
<img src="http://go.microsoft.com/fwlink/?LinkId=108181" alt="Get Microsoft Silverlight" style="border-style: none"/>
</a> …Run Code Online (Sandbox Code Playgroud)