报告定义具有无效的目标名称空间“http://schemas.microsoft.sqlserver.reporting/2008/01/reportdefinition”,无法升级“。 [英] the report definition has an invalid target namespace 'http://schemas.microsoft.sqlserver.reporting/2008/01/reportdefinition' which cannot be upgraded".
问题描述
大家好,
我在我的开发机器上安装了Visual Studio 2010和.net framework 4.0。 我也安装了SQL Server 2008(您在上面指出不会影响
问题)。
I have Visual Studio 2010, and .net framework 4.0 installed on my development machine. I also have SQL Server 2008 installed (which you indicate above does not affect the issue).
  当我在Visual Studio 2010中创建一个新的Report项目时,RDLC文件在其中有一个引用到... / 2008/01 / ....看起来像这样:
When I create a new Report project in Visual Studio 2010, the RDLC file has a reference inside it to .../2008/01/.... that looks like this:
< ;报告xmlns =" http://schemas.microsoft.com/sqlserver/reporting/2008/01/reportdefinition" xmlns:rd =" http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">
<Report xmlns="http://schemas.microsoft.com/sqlserver/reporting/2008/01/reportdefinition" xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">
我已多次尝试过此操作。 我只建了"loca" 。报告&NBSP;当我在本地计算机上构建时,报告会构建并运行,只是花花公子。 但是当我尝试在我们的构建服务器上构建它们时,运行MSBUILD, build
失败,并且:
I have tried this several times. I have only built "loca" reports. When I build on my local machine, the reports build and run just dandy. But when I try to build them on our build server, running MSBUILD, the build fails with:
报告定义具有无效的目标命名空间'http://schemas.microsoft.sqlserver.reporting/2008/01/reportdefinition',无法升级;。
the report definition has an invalid target namespace 'http://schemas.microsoft.sqlserver.reporting/2008/01/reportdefinition' which cannot be upgraded".
我不确定为什么新报告没有被创建为/ 2010 /,因为我认为我使用的是.net framework 4.0。 &NBSP;&NBSP;&NBSP;&NBSP;&NBSP;非常感谢任何帮助。
Im not sure why the new report didn't get created as /2010/, since everything I believe is using .net framework 4.0. Any help greatly appreciated.
问候,
迈克
推荐答案
另外,我检查了项目引用是否正确,他们指向 Microsoft.ReportViewer.WinForms.dll 10.0.0.0。
Also, I checked that the project references are correct, they point to Microsoft.ReportViewer.WinForms.dll 10.0.0.0.
这篇关于报告定义具有无效的目标名称空间“http://schemas.microsoft.sqlserver.reporting/2008/01/reportdefinition”,无法升级“。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!