Visual Studio 2010: The report definition is not valid. Details: The report definition has an invalid target

Mac McCaskie picture Mac McCaskie · Jun 21, 2013 · Viewed 31k times · Source

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) Visual Studio 2010, with SQL Server 2012

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) Tried to edit a few reports - first time since upgrading to SQL 2012.

4) Could not edit the datasets and decided something was corrupt.

5) Ran a repair installation on VS 2010 and ensured it was fully up-to-date. no joy - could not update dataset.

6) Re-ran install for SQL SSMS with addition of SDK for connectivity clients

7) Now I could edit the report datasets, but the reports are broken. (see title) -double sigh-

Report viewer is 10.0.0

.Net is 4.0

Thanks for any tips

Mac McCaskie

Answer

Mário Meyrelles picture Mário Meyrelles · Oct 3, 2014

I had this issue today in VS2013.

Be sure to reference the correct ReporViewer dll version:

C:\Program Files (x86)\Microsoft Visual Studio 12.0\ReportViewer\