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

  • 我可以从本地主机运行报表生成器
  • 我的同事可以在他的 Vista 计算机上运行 Report Builder
  • 另一个同事可以在他的 XP SP3 计算机 (IE7) 上运行 Report Builder
  • 我无法在 XP SP3 计算机 (IE7) 上运行 Report Builder

  • 有人告诉我,这可能是从错误的注册表项到组策略问题的任何问题。这是我尝试过的:
  • 将站点放入“低”安全性的“可信站点”中
  • 重新安装.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)

    帮助我,溢出克诺比,你是我唯一的希望..

    最佳答案

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

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

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

    因此,如果您有一个带有 Reporting Services 的 SQL Server 本地实例,并且第一次从报表管理器的“启动报表生成器”运行报表生成器 3.0,那么下次尝试从真实服务器的报表管理器的链接(而不是从您的localhost's) 你会得到这个错误。

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

    对于 Windows Vista:

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

  • 预视景:
  • 找到文件夹 ...\Documents and Settings\<user>\Local Settings\Apps
  • 删除2.0文件夹
  • 关于sql-server-2005 - ReportBuilder.application 在我的电脑上失败 - 但在本地主机上工作,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/2595425/

    10-15 02:29