I am using visual studio 2008 and report builder3.0. Created a report in report builder and trying to attach it with asp.net. But when i am running the application report doesn’t load and showing an error
The definition of the report ‘Main
Report’ is invalid. 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.
I stucked on this issue.What is the procedures for attaching an sql report with an asp.net application ? Please assist.
Thank you.
I had a very similar issue. Just all of a sudden I could no longer build a VS2010 project that contained an .rdlc file. I wasn’t converting any reports or using a report server, everything was local. I tried creating a brand new project and adding an empty new rdlc report and hit build and it wouldn’t work. Just one day it stopped compiling and gave me the following error:
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.
Turns out the issue was my “C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v10.0\ReportingServices\Microsoft.ReportingServices.targets” file had somehow changed. The top of my file was:
And it should have been:
I changed that one “Using Task” line in the file and everything builds again. REALLY frustrating and it ate up two days of my life.
Hoping posting this comment may help someone else in a similar situation.
Jim Lafler