2011-11-04 68 views
2

在所有版本的IE &窗口中都有很多設置,這可能會導致用戶嘗試運行xbap應用程序時出現問題,特別是在fulltrust模式下。XBAP,Fulltrust應用程序安全/信任異常

我似乎在去年收集了很多這樣的案例。 然而,我被這個例外發生了一個例外,這個例外發生在我的一個系統上的一個用戶身上,並且希望這裏的某個人能夠指引我朝着正確的方向發展。

此應用程序運行在所有使用的windows版本上,並且IE6-> IE9,沒有問題,因此deploy/xbap本身沒有任何問題。 用戶在下面獲得errorlog/stacktrace。有沒有人遇到過這種模糊的痕跡,並且知道問題可能是什麼?該用戶正在運行IE8 & W7。

用戶在受信任的根機構&受信任的發佈者中安裝了正確的證書。相關網站已添加到受信任網站列表中。 Xbap已在IE中啓用。

網址,公共密鑰,appname等已被凍結。

Brgds, 了Stian

PLATFORM VERSION INFO 
     Windows     : 6.1.7600.0 (Win32NT) 
     Common Language Runtime  : 2.0.50727.4963 
     System.Deployment.dll   : 2.0.50727.4927 (NetFXspW7.050727-4900) 
     mscorwks.dll     : 2.0.50727.4963 (win7RTMGDR.050727-4900) 
     dfshim.dll    : 4.0.31106.0 (Main.031106-0000) 

SOURCES 
     Deployment url    : http://someurl/someapplication.xbap 
     Application url    : http://someurl/Application%20Files/someapplication_1_0_0_29/someapplication.exe.manifest 

IDENTITIES 
     Deployment Identity   : someapplication.app, Version=1.0.0.29, Culture=neutral, PublicKeyToken=sometoken, processorArchitecture=msil 
     Application Identity   : someapplication, Version=1.0.0.29, Culture=neutral, PublicKeyToken=sometoken, processorArchitecture=msil, type=win32 

APPLICATION SUMMARY 
     * Online only application. 
     * Browser-hosted application. 

ERROR SUMMARY 
     Below is a summary of the errors, details of these errors are listed later in the log. 
     * An exception occurred while determining trust. Following failure messages were detected: 
      + User has refused to grant required permissions to the application. 
     * An exception occurred while downloading the application. Following failure messages were detected: 
      + The AssertApplicationRequirements method failed. The application cannot be committed. 

COMPONENT STORE TRANSACTION FAILURE SUMMARY 
     No transaction error was detected. 

WARNINGS 
     There were no warnings during this operation. 

OPERATION PROGRESS STATUS 
     No phase information is available. 

ERROR DETAILS 
     Following errors were detected during this operation. 
     * [01/11/2011 09:16:02] System.Deployment.Application.TrustNotGrantedException (Unknown subtype) 
      - User has refused to grant required permissions to the application. 
      - Source: System.Deployment 
      - Stack trace: 
        at System.Deployment.Application.ApplicationTrust.RequestTrust(SubscriptionState subState, Boolean isShellVisible, Boolean isUpdate, ActivationContext actCtx, TrustManagerContext tmc) 
        at System.Deployment.Application.DeploymentManager.DetermineTrustCore(Boolean blocking, TrustParams tp) 
        at System.Deployment.Application.DeploymentManager.DetermineTrust(TrustParams trustParams) 
        at System.Deployment.Application.InPlaceHostingManager.AssertApplicationRequirements(Boolean grantApplicationTrust) 
        at System.Deployment.Application.InPlaceHostingManager.AssertApplicationRequirements() 
        at MS.Internal.AppModel.XappLauncherApp.AssertApplicationRequirementsAsync(Object unused) 
     * [01/11/2011 09:16:37] System.Deployment.Application.DeploymentException (Unknown subtype) 
      - The AssertApplicationRequirements method failed. The application cannot be committed. 
      - Source: System.Deployment 
      - Stack trace: 
        at System.Deployment.Application.DeploymentManager.WaitForAssertApplicationRequirements() 
        at System.Deployment.Application.DeploymentManager.SynchronizeCore(Boolean blocking) 
        at System.Deployment.Application.DeploymentManager.SynchronizeAsyncWorker() 

COMPONENT STORE TRANSACTION DETAILS 
     No transaction information is available. 

回答

1

我已經回答了這一個,當我 「解決」 問題。

在上面的例子中,客戶端計算機,磁盤更換,重新安裝操作系統等問題解決了這個問題。

什麼問題是,仍然是一個謎;)