Visual Studio 2010:报告定义无效.详细信息:报告定义的目标无效 [英] Visual Studio 2010: The report definition is not valid. Details: The report definition has an invalid target
问题描述
回复:报告定义无效.详细信息:报告定义具有无效的目标命名空间http://schemas.microsoft.com/sqlserver/reporting/2008/01/reportdefinition' 无法升级.
Re: The report definition is not valid. Details: The report definition has an invalid target namespace 'http://schemas.microsoft.com/sqlserver/reporting/2008/01/reportdefinition' which cannot be upgraded.
需要报告专家,请继续...
Report expert needed, beam on over...
这是我今天完成这点愚蠢的步骤.
Here are the step I went through today to accomplish this bit of foolishness.
1) 带有 SQL Server 2012 的 Visual Studio 2010
1) Visual Studio 2010, with SQL Server 2012
2) 应用程序是一个winforms vb.net,运行良好,最初是在VS 2008中开发的
2) App is a winforms vb.net, has been working great, was originally developed in VS 2008
在我到达之前,报告在这个上午运行良好.-叹气-
Reports ran fine this AM before I got to them. -sigh-
3) 尝试编辑一些报告 - 自升级到 SQL 2012 以来的第一次.
3) Tried to edit a few reports - first time since upgrading to SQL 2012.
4) 无法编辑数据集并认为某些内容已损坏.
4) Could not edit the datasets and decided something was corrupt.
5) 在 VS 2010 上运行修复安装并确保它是完全最新的.不高兴 - 无法更新数据集.
5) Ran a repair installation on VS 2010 and ensured it was fully up-to-date. no joy - could not update dataset.
6) 为 SQL SSMS 重新运行安装,并为连接客户端添加了 SDK
6) Re-ran install for SQL SSMS with addition of SDK for connectivity clients
7) 现在我可以编辑报告数据集,但报告已损坏.(见标题)-双叹-
7) Now I could edit the report datasets, but the reports are broken. (see title) -double sigh-
报告查看器是 10.0.0
Report viewer is 10.0.0
.Net 是 4.0
感谢您的建议
麦克麦卡斯基
推荐答案
我今天在 VS2013 中遇到了这个问题.
I had this issue today in VS2013.
请务必引用正确的 ReporViewer dll 版本:
Be sure to reference the correct ReporViewer dll version:
C:Program Files (x86)Microsoft Visual Studio 12.0ReportViewer
C:Program Files (x86)Microsoft Visual Studio 12.0ReportViewer
这篇关于Visual Studio 2010:报告定义无效.详细信息:报告定义的目标无效的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!