3

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

  1. 我可以从本地主机运行报表生成器
  2. 我的同事可以在他的 Vista 计算机上运行报表生成器
  3. 另一位同事可以在他的 XP SP3 计算机 (IE7) 上运行报表生成器
  4. 我无法在我的 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 上有些东西阻止了应用程序运行 - 但我只是不知道是什么。谷歌没有太大帮助,因为大多数问题都与服务器配置有关(我知道这是正确的,因为它适用于其他 PC)

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

4

1 回答 1

8

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

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

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

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

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

对于 Windows Vista:

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

预览版:

  • 查找文件夹...\Documents and Settings\<user>\Local Settings\Apps
  • 删除 2.0 文件夹
于 2010-12-29T23:41:52.580 回答