我一直在使用Visual Studio 2010进行Reporting Services项目,使用SQL Server 2012作为报告服务后端。为了显示报告,我们从版本10升级到了11,并在asp.net中使用了Reporting Viewer,没有遇到任何问题。
<%@ Register Assembly="Microsoft.ReportViewer.WebForms, Version=13.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91"
Namespace="Microsoft.Reporting.WebForms" TagPrefix="rsweb" %>
<rsweb:ReportViewer ID="ReportViewer03" runat="server" Font-Names="Verdana"
Font-Size="8pt" Height="400px" ProcessingMode="Remote" Width="950px">
<ServerReport ReportPath="/ReportsProgram_YEAR8/Rpt03_SurveyCountsByLanguageMethod"
ReportServerUrl="http://sql2012a/ReportServer_SQL2016" />
</rsweb:ReportViewer>
安装SQL Server 2016、报表服务和SQL Data Tools 2015都进行得很顺利。
我可以将上面的组件版本更改为11.0,旧版样式下报表仍能正常呈现。
但是,在使用Visual Studio 2015或SQL Data Tools 2015打开旧的项目文件或单独的.rdl文件时,没有像我在互联网上看到的升级提示。据我记得,没有SQL Data Tools 2013,所以我从未有机会升级。
无论如何,在查看报表文件时,显然xml标签没有升级。不仅如此,报表还存在问题(见下面的屏幕截图)。
现在我已经从头开始创建了一个新的报表,导出和打印的下拉菜单确实有效,但工具栏下方的两个下拉菜单区域仍然存在打印、取消和完成选项。我已经升级了我的AjaxToolKit和所有东西。我别无选择,只能继续使用SQL Reporting Services 2012(非常难过)。
有人能解决这些问题吗?