XBAP,Fulltrust应用程序安全/信任异常

时间:2011-11-04 09:49:46

标签: security xbap full-trust

所有IE和IE版本中都有很多设置。 Windows,这可能会导致尝试运行xbap应用程序的用户出现问题,特别是在完全信任模式下。

在过去的一年里,我似乎收集了很多此类案件。 但是我遇到了这个例外,这个异常发生在我的一个系统上的用户身上,并且希望也许有人可以指出我正确的方向。

此应用程序在所有使用的Windows版本上运行,并且IE6 - > IE9,没有问题所以部署/ xbap没有任何问题。 用户获取下面的errorlog / stacktrace。有没有人遇到过这种模糊的痕迹,并知道问题可能是什么?这个用户正在运行IE8& W7。

用户在受信任的root权限中安装了适当的证书。受信任的出版商。相关网站已添加到可信站点列表中。 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 个答案:

答案 0 :(得分:1)

当我“解决”这个问题时,我应该回答这个问题。

在上面的情况下,客户端计算机出现问题,磁盘更换,OS等重新安装解决了这个问题。

问题是什么,仍然是一个谜;)