2011-02-08 129 views
0

我按照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安裝廣告。 我已經授予執行用戶一個可笑的權限,但仍然沒有成功。如果之前有人遇到過這個問題,我會很感激這方面的幫助。

回答

0

您必須確保執行StatLight的服務啓用了桌面交互功能。

在服務登錄選項卡上,你必須選中「允許服務與桌面交互」

+0

我試過你的解決方案。不幸的是它沒有改變任何東西。我仍然收到相同的錯誤信息。 – 2011-02-09 07:52:31

相關問題