将Visual Studio 2008(.Net Framework 3.5)中的客户端RDLC报表转换为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。将Visual Studio 2008(.Net Framework 3.5)中的客户端RDLC报表转换为Visual Studio 2015(.Net Framework 4.5.2)

在这里我把报表查看器控件的页面,我设置了最新的IE浏览器中的meta标签(类似于下面给出)

<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安装在我的机器上。请告诉我什么是错的?

+0

我也遇到过这个问题,但只在部署到Azure网站的产品时才会遇到。我试图启用兼容性视图设置无济于事。我怀疑在web或机器配置中可能还需要配置 –

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

此前我们使用过Reportviewer 9,现在正在使用ReportViewer 12.0。

谢谢