【问题标题】:ReportBuilder.application fails on my PC - but works on localhostReportBuilder.application 在我的电脑上失败 - 但在本地主机上工作
【发布时间】:2010-04-07 19:49:05
【问题描述】:

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

  1. 我可以从 localhost 运行报表生成器
  2. 我的同事可以在他的 Vista 计算机上运行报表生成器
  3. 另一位同事可以在他的 XP SP3 计算机 (IE7) 上运行报表生成器
  4. 我无法在我的 XP SP3 计算机 (IE7) 上运行报表生成器

有人告诉我,这可能是从错误的注册表项到组策略问题的任何事情。这是我尝试过的:

  • 将网站放入安全性“低”的“受信任的网站”中
  • 重新安装 .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 上有某些东西阻止应用程序运行 - 但我只是不知道是什么。谷歌并没有提供太多帮助,因为大多数问题都与服务器配置有关(我知道这是正确的,因为它可以在其他 PC 上运行)

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

【问题讨论】:

  • 只是为了消除用户权限,如果您登录到您同事的一台机器(作为您),您可以在那里运行它吗?

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


【解决方案1】:

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

我也遇到过这个问题。一段时间后,找到原因:当 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 文件夹

预览版:

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

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2021-04-16
    • 2011-12-15
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2019-05-12
    相关资源
    最近更新 更多