在Windows Server 2008 R2上使用statlight测试silverlight应用程序
问题描述:
我按照pyxis-tech.com上的说明在Windows 2008 R2服务器上测试了TFS2010上的Silverlight应用程序。如果我将测试作为构建的一部分运行,那么它们都会失败。运行它们的服务器相同的用户上揭示了以下内容:在Windows Server 2008 R2上使用statlight测试silverlight应用程序
------------------ Test Failed ------------------
Test Namespace: [StatLight]
Test Class: [CannotFigureItOut]
Test Method: [NotEnoughContext]
Other Info: A Silverlight MessageBox dialog was automatically closed.
Caption: One or more ActiveX controls could not be displayed because either:
1) Your current security settings prohibit running ActiveX controls on this page
, or
2) You have blocked a publisher of one of the controls.
As a result, the page might not display correctly.
Dialog Message:
Web Browser
-------------------------------------------------
Statlight打开它的浏览器,一分钟左右后,关闭前显示具有相同的错误信息的对话框。即使计算机上已安装Silverlight运行时,浏览器也会显示Silverlight安装广告。 我已经授予执行用户一个可笑的权限,但仍然没有成功。如果之前有人遇到过这个问题,我会很感激这方面的帮助。
答
您必须确保执行StatLight的服务启用了桌面交互功能。
在服务登录选项卡上,你必须选中“允许服务与桌面交互”
我试过你的解决方案。不幸的是它没有改变任何东西。我仍然收到相同的错误信息。 – 2011-02-09 07:52:31