ReportBuilder.application在我的电脑上失败 - 但是在localhost上工作

时间:2010-04-07 19:49:05

标签: sql-server-2005 reporting-services ssrs-2008 reportbuilder3.0

我们在Win2K3服务器上运行SQL 2005并使用SSRS。情况如下:

  1. 我可以从localhost
  2. 运行Report Builder
  3. 我的同事可以在他的Vista计算机上运行Report Builder
  4. 另一位同事可以在他的XP SP3计算机(IE7)上运行Report Builder
  5. 我无法在XP SP3计算机(IE7)上运行Report Builder
  6. 我被告知可能是从错误的注册表项到组策略问题。这是我尝试过的:

    • 将网站置于“可信站点”,“安全性低”
    • 重新安装.NET
    • 创建一个新的本地用户帐户并尝试运行它

    结果?每次都会出现一个对话框:“无法启动应用程序。请联系应用程序供应商”

    我点击详细信息按钮并获取此信息:

    PLATFORM VERSION INFO
     Windows    : 5.1.2600.196608 (Win32NT)
     Common Language Runtime  : 2.0.50727.3607
     System.Deployment.dll   : 2.0.50727.3053 (netfxsp.050727-3000)
     mscorwks.dll    : 2.0.50727.3607 (GDR.050727-3600)
     dfdll.dll    : 2.0.50727.3053 (netfxsp.050727-3000)
     dfshim.dll    : 2.0.50727.3053 (netfxsp.050727-3000)
    
    SOURCES
     Deployment url   : http://www.example.com/ReportServer/ReportBuilder/ReportBuilder.application
          Server  : Microsoft-IIS/6.0
          X-Powered-By : ASP.NET
          X-AspNet-Version: 2.0.50727
    
    IDENTITIES
     Deployment Identity  : ReportBuilder.application, Version=9.0.3042.0, Culture=neutral, PublicKeyToken=c3bce3770c238a49, processorArchitecture=msil
    
    APPLICATION SUMMARY
     * Online only application.
     * Trust url parameter is set.
    ERROR SUMMARY
     Below is a summary of the errors, details of these errors are listed later in the log.
     * Activation of http://www.example.com/ReportServer/ReportBuilder/ReportBuilder.application resulted in exception. Following failure messages were detected:
      + Value does not fall within the expected range.
    
    COMPONENT STORE TRANSACTION FAILURE SUMMARY
     No transaction error was detected.
    
    WARNINGS
     There were no warnings during this operation.
    
    OPERATION PROGRESS STATUS
     * [4/7/2010 2:53:57 PM] : Activation of http://www.example.com/ReportServer/ReportBuilder/ReportBuilder.application has started.
     * [4/7/2010 2:53:58 PM] : Processing of deployment manifest has successfully completed.
    
    ERROR DETAILS
     Following errors were detected during this operation.
     * [4/7/2010 2:53:58 PM] System.ArgumentException
      - Value does not fall within the expected range.
      - Source: System.Deployment
      - Stack trace:
       at System.Deployment.Application.NativeMethods.CorLaunchApplication(UInt32 hostType, String applicationFullName, Int32 manifestPathsCount, String[] manifestPaths, Int32 activationDataCount, String[] activationData, PROCESS_INFORMATION processInformation)
       at System.Deployment.Application.ComponentStore.ActivateApplication(DefinitionAppId appId, String activationParameter, Boolean useActivationParameter)
       at System.Deployment.Application.SubscriptionStore.ActivateApplication(DefinitionAppId appId, String activationParameter, Boolean useActivationParameter)
       at System.Deployment.Application.ApplicationActivator.Activate(DefinitionAppId appId, AssemblyManifest appManifest, String activationParameter, Boolean useActivationParameter)
       at System.Deployment.Application.ApplicationActivator.PerformDeploymentActivation(Uri activationUri, Boolean isShortcut, String textualSubId, String deploymentProviderUrlFromExtension, BrowserSettings browserSettings, String& errorPageUrl)
       at System.Deployment.Application.ApplicationActivator.ActivateDeploymentWorker(Object state)
    
    COMPONENT STORE TRANSACTION DETAILS
     * Transaction at [4/7/2010 2:53:58 PM]
      + System.Deployment.Internal.Isolation.StoreOperationSetDeploymentMetadata
       - Status: Set
       - HRESULT: 0x0
      + System.Deployment.Internal.Isolation.StoreTransactionOperationType (27)
       - HRESULT: 0x0
    

    我真的很茫然。我确定我的电脑上有某些东西阻止应用程序运行 - 但我只是不知道是什么。谷歌没有太大的帮助,因为大多数问题都与服务器配置有关(我知道这是正确的,因为它适用于其他PC)

    帮助我,Overflow Kenobi,你是我唯一的希望......

1 个答案:

答案 0 :(得分:8)

既然你问过很久以前,很可能你不再需要这个了。 希望,既然你找到了答案,而不是因为你只是放弃了。

我也遇到了这个问题。经过一段时间后,找到原因:当第一次在计算机上执行ClickOnce应用程序时,安装它的URL将成为此应用程序签名的一部分。

不幸的是,这也意味着当您尝试从另一个URL运行具有完全相同清单的相同应用程序时,您会收到此错误或非常相似的错误。

因此,如果您有一个带有Reporting Services的SQL Server本地实例,并且首次从Report Manager的“Start Report Builder”运行Report Builder 3.0,那么下次您尝试从真实服务器的Report Manager链接运行它时(不是来自你的本地主机)你会收到这个错误。

解决方法是手动清除ClickOnce缓存(source):

对于Windows Vista:

  • 查找文件夹<user>\AppData\Local\Apps
  • 删除2.0文件夹

预Vista中:

  • 查找文件夹...\Documents and Settings\<user>\Local Settings\Apps
  • 删除2.0文件夹