gpt4 book ai didi

asp.net - 无法加载文件或程序集 'Microsoft.ReportViewer.WebForms'

转载 作者:行者123 更新时间:2023-12-02 00:06:42 25 4
gpt4 key购买 nike

我正在尝试使用 asp.net 中的报告查看器并已上传我的网站。但是,当加载包含报表查看器的页面时,它显示以下错误:

Could not load file or assembly 'Microsoft.ReportViewer.WebForms, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)

这是我第一次部署 ASP.NET 网站,所以我不确定问题是什么。

最佳答案

此链接给了我一个线索,表明我没有安装所需的更新(我有问题的相关版本号,v11.0.0.0)

ReportViewer 2012 Update 'Gotcha' to be aware of

我安装了更新 SQLServer2008R2SP2

我下载了ReportViewer.msi ,需要安装 Microsoft® System CLR Types for Microsoft® SQL Server® 2012 (look halfway down the page for installer)

GAC 中现已提供 WebForms v11.0.0.0 (C:\Windows\assembly\Microsoft.ReportViewer.WebForms v11.0.0.0 以及Microsoft.ReportViewer.Common v11.0.0.0)

关于asp.net - 无法加载文件或程序集 'Microsoft.ReportViewer.WebForms',我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/16493817/

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