在我的一个项目中,我使用 reportviewer 控件在网页上显示报告,并且在上传到 Azure 时,我已按照此处提到的步骤进行操作
上传后,当我运行该报告网页时,它给了我以下错误
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,如下所示 snap Microsoft.ReportViewer.Common.dll (10.0)
Microsoft.ReportViewer.WebForms.dll (10.0)