我在Visual Studio 2017中有一个以前在Visual Studio 2015中开发的AspNet MVC项目.该项目包含许多rdlc文件,这些文件在我编辑其中一个之前一直正常工作.现在,当我尝试从编辑的rdlc下载pdf时,我收到此错误:
此版本的Reporting Services无效或支持此报告的定义.报表定义可能是使用更高版本的Reporting Services创建的,或者包含基于Reporting Services架构格式不正确或无效的内容.详细信息:报表定义具有无效的目标命名空间" http://schemas.microsoft.com/sqlserver/reporting/2016/01/reportdefinition ",无法升级.
编辑的rdlc将其命名空间从http://schemas.microsoft.com/sqlserver/reporting/2008/01/reportdefinition更改为http://schemas.microsoft.com/sqlserver/reporting/2016/01/reportdefinition
该项目使用net framework 4.6.2运行,并安装了Microsoft.ReportViewer.Runtime.Common.12.0.2402.15和Microsoft.ReportViewer.Runtime.WebForms.12.0.2402.15 nuget包
在我的项目中,我在xml formate中创建了.rdlc文件,我希望看到我的报告,但它没有在设计视图中显示.我怎么能得到这个?
谁能帮帮我吗.
我有一些SSRS报告,当前处于2016模式中,需要在构建时转换为2008 R2模式。
有谁知道我怎么能做到这一点?实际上有可能这样做吗?Microsoft是否为此提供工具?
很难找到有关此方面的信息,因此将不胜感激!
谢谢大家!
错误:
本地报告处理期间发生错误。
报告“Include\Impresiones\Rport.rdlc”的定义无效。
此报表的定义无效或不受此版本的 Reporting Services 支持。
报表定义可能是使用较新版本的 Reporting Services 创建的,或者包含基于 Reporting Services 架构格式不正确或无效的内容。详细信息:报告定义具有无效的目标命名空间“http://schemas.microsoft.com/sqlserver/reporting/2016/01/reportdefinition”,无法升级。
当我有 VS2012 时,我可以毫无问题地编辑它,但现在我更新到 VS2019,当我编辑报告并想在报告查看器中显示它时,我收到该错误,如何解决?
在我的web.config
我有:
<system.web>
<httpHandlers>
<add path="Reserved.ReportViewerWebControl.axd" verb="*"
type="Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91" validate="false"/>
</httpHandlers>
<compilation debug="true" targetFramework="4.5">
<assemblies>
<!--<add assembly="Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
<add assembly="Microsoft.ReportViewer.Common, Version=10.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>-->
<add assembly="Microsoft.ReportViewer.WebForms, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845DCD8080CC91"/>
<add assembly="Microsoft.ReportViewer.Common, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845DCD8080CC91"/>
<add assembly="Microsoft.Build.Framework, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
<add assembly="System.Management, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
</assemblies>
<buildProviders>
<!--<add extension=".rdlc" type="Microsoft.Reporting.RdlBuildProvider, Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>-->
<add extension=".rdlc" type="Microsoft.Reporting.RdlBuildProvider, …
Run Code Online (Sandbox Code Playgroud) rdlc ×3
asp.net ×2
asp.net-mvc ×1
build ×1
c# ×1
msbuild ×1
rdl ×1
reportviewer ×1
ssrs-2008-r2 ×1