当前位置:  开发笔记 > 后端 > 正文

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

如何解决《ReportBuilder.application在我的电脑上失败-但是在localhost上工作》经验,为你挑选了1个好方法。

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

    我可以从localhost运行Report Builder

    我的同事可以在他的Vista计算机上运行Report Builder

    另一位同事可以在他的XP SP3计算机上运行Report Builder(IE7)

    我无法在XP SP3计算机上运行Report Builder(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)

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



1> Joe Pineda..:

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

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

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

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

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

对于Windows Vista:

查找文件夹 \AppData\Local\Apps

删除2.0文件夹

预Vista的:

查找文件夹 ...\Documents and Settings\\Local Settings\Apps

删除2.0文件夹

推荐阅读
女女的家_747
这个屌丝很懒,什么也没留下!
DevBox开发工具箱 | 专业的在线开发工具网站    京公网安备 11010802040832号  |  京ICP备19059560号-6
Copyright © 1998 - 2020 DevBox.CN. All Rights Reserved devBox.cn 开发工具箱 版权所有