Quantcast
Channel: VBForums
Viewing all articles
Browse latest Browse all 42427

[RESOLVED] SSRS report not working in ReportViewer - think it's a version problem

$
0
0
Hi Guys

I'm a bit stumped on an issue and I'm hoping someone might throw some light on it. I'm getting the following error when I try to display a report in a reportviewer:-
An error occurred during local report processing.
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.

To debug I've taken everything back to the bare bones so at the moment this is an empty report, no datasets, no text boxes, no nothing.

From what I understand from my googling so far this is because it's built the report against sql2008 but we're targetting the 2.0 framework, which can't cope with. Here's all the information which I think might be relevant:-
Report built in VS2012 in the same project as the report viewer.
Project is set to target framework 2.0
When debuging this is set to run on a specific web server.
I believe the web server is running framework 2.0. That's what I'm told but I can't check myself because it's an MOD site so locked down and I can't directly access it.
SQL Server 2008 is installed on my local machine along with 2005.
I'm using version 8 of the report viewer (I believe that's the one that worked with framework 2.0, if I try to use a more recent one it barfs on the references and can't load up the namespace).

Here's what I think is happening but I'm really unsure:-
I'm designing the report in VS2012. Although it's set to target Framework 2.0 it's using the most up to date version of BIDS on the dev machine which would be 2008.
Framework 2.0 (and ReportViewer 8.0) can't recognise reports build for SQL 2008 so I get this error.

Assuming I'm right about this then I need to somehow get the project to build the report using BIDS 2005 but I can't seem to work out how. Any suggestions on how I'd do that?

Or am I perhaps missing the point entirely?

Any help would be apreciated.

Viewing all articles
Browse latest Browse all 42427

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>