Mic*_*hik 14 sql-server bids reporting-services visual-studio-2015 ssrs-2016
我一直在使用Visual Studio 2010进行Reporting Services项目,并使用SQL Server 2012报告服务后端.为了显示报告,我们从版本10到11,使用asp.net中的报告查看器,就像没有问题一样.
<%@ 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>
Run Code Online (Sandbox Code Playgroud)
安装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(非常难过)
任何人都可以对这些问题有所了解吗?
小智 3
您需要使用报表查看器 13 才能使用 SSRS 2016。它在 nuget 上作为预览版本提供。
\n\nInstall-Package Microsoft.ReportingServices.ReportViewerControl.WebForms.Preview
如果安装了 SQL Server Data Tools 或 SQL Server Management Studio for SQL 2016,请确保将其\xe2\x80\x99s 更新到最新版本。早期版本的 SSDT 错误地 gac\xe2\x80\x99ed 某些与报表查看器控件冲突的 dll。您可能需要从 \\windows\\ assembly \\ gac_msil 手动删除 V13 dll 以永久删除它们。
\n\n如何卸载
\n\ngacutil /u“Microsoft.ReportViewer.WebForms,版本=13.0.0.0,文化=中性,PublicKeyToken=89845dcd8080cc91,processorArchitecture=MSIL”/f
\n\ngacutil /u“Microsoft.ReportViewer.WinForms,版本=13.0.0.0,文化=中性,PublicKeyToken=89845dcd8080cc91,processorArchitecture=MSIL”/f
\n\ngacutil /u“Microsoft.ReportViewer.WebDesign,版本=13.0.0.0,文化=中性,PublicKeyToken=89845dcd8080cc91,processorArchitecture=MSIL”/f
\n\ngacutil /u“Microsoft.ReportViewer.Common,版本=13.0.0.0,文化=中性,PublicKeyToken=89845dcd8080cc91,processorArchitecture=MSIL”/f
\n\n如果出现“无法卸载:一个或多个应用程序需要程序集”\n https://support.microsoft.com/en-us/kb/873195
\n