将客户端 RDLC 报告从 Visual studio 2008 (.Net Framework 3.5) 转换为 Visual studio 2015 (.Net Framework 4.5.2)

Converting client side RDLC report from Visual studio 2008 (.Net Framework 3.5) to Visual studio 2015 (.Net Framework 4.5.2)

我正在将我的 Web 应用程序从 Visual Studio 2008 (.NET Framework 3.5) 升级到 Visual Studio 2015(.Net Framework 4.5.2)。应用程序中大约有 8-10 个客户端 RDLC 报告。我将所有这些转换为新框架 .NET 4.5.2。

在我放置报表查看器控件的页面上,我为最新的 IE 浏览器设置了元标记(类似于下面给出的)

<meta http-equiv="X-UA-Compatible" content="IE=edge" /> 

但是,当我 运行 报告时,出现以下错误。

Browser not supported

Report Viewer requires a standards compliant browser. Users of Internet Explorer 8 and earlier should switch to a modern browser, or if already using a modern browser target standards mode by adding the

<meta http-equiv="X-UA-Compatible" content="IE=edge" >

header tag to the host page.

SQL SERVER 2008 R2 安装在我的机器上。请告诉我哪里出了问题?

我通过添加 DOCTYPE html 标签解决了这个问题,因为我们正在将我们的应用程序从 .Net 3.5 升级到 .Net 4.5.2。

之前我们使用的是 Reportviewer 9,现在使用的是 ReportViewer 12.0。

谢谢