gpt4 book ai didi

azure - Windows Azure 网站 (WAWS) 上的 ReportViewer 问题

转载 作者:行者123 更新时间:2023-12-03 01:12:04 27 4
gpt4 key购买 nike

在我的一个项目中,我使用了reportviewer控件在网页上显示报告,并且在上传到Azure时我遵循了提到的步骤here

上传后,当我运行该报告网页时,它会给出以下错误

An error occurred during local report processing.
The definition of the report 'Reports\Report1.rdlc' is invalid.
An unexpected error occurred in Report Processing.
Could not load file or assembly 'Microsoft.ReportViewer.ProcessingObjectModel, >
Version=10.0.0.0,
Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its
dependencies. The system cannot find the file specified.

这应该是什么原因造成的?

更新:

我添加了以下 2 个 dll,如下图所示Microsoft.ReportViewer.Common.dll (10.0)
Microsoft.ReportViewer.WebForms.dll (10.0)

enter image description here

最佳答案

经过长时间的研究,我从 this link 找到了我的问题的解决方案

缺少以下dll引用的问题

  • Microsoft.ReportViewer.ProcessingObjectModel.dll
  • Microsoft.RevportViewer.DataVisualization.dll

但安装后我无法在C:\Windows\Microsoft.NET\assembly\GAC_MSIL中找到这些dll

但是此路径中有可用的程序集文件C:\Windows\assembly然后我直接使用VS2010添加了这些dll,如下图所示。

enter image description here

成功了!

关于azure - Windows Azure 网站 (WAWS) 上的 ReportViewer 问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/13569518/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com