问题描述
我有一台操作系统为 Windows Server 2016 Standard 的服务器。它具有托管 ASP.NET 站点的 IIS 10.0。一个站点需要显示一份报告,但它给出了以下错误消息:
无法加载文件或程序集“Microsoft.ReportViewer.Common, 版本=12.0.0.0,文化=中性,PublicKeyToken=89845dcd8080cc91' 或 它的依赖项之一。系统找不到指定的文件。
如何在此服务器上安装 ReportViewer?
不允许在此服务器上安装 Visual Studio。
解决方法
您不需要服务器上的 Visual Studio。根据当时查看器运行时的要求,它声明它确实支持 Windows Server。
尝试使用此下载 https://www.microsoft.com/en-us/download/details.aspx?id=35747