Randomly get rsInvalidReportDefinition when previewing report - by mheptinstall

Status : 

 


2
0
Sign in
to vote
ID 2988044 Comments
Status Active Workarounds
Type Bug Repros 0
Opened 7/29/2016 1:21:23 AM
Access Restriction Public

Description

I am frequently getting an error message similar to the one below when previewing a report in the Visual Studio 2015 Community Edition with SQL Server Data Tools (currently using 14.0.60629.0 though error has occurred in all versions).

[rsInvalidReportDefinition] The definition of this report is not valid or supported by this version of Reporting Services. The report definition may have been created with a later version of Reporting Services, or contain content that is not well-formed or not valid based on Reporting Services schemas. Details: Data at the root level is invalid. Line 53, position 374.

Once I receive this error message if I go back to design mode and hit preview again the report will display.
I am targeting SQL Server 2012 and this error occurs for existing reports and new reports.
Sign in to post a comment.
Posted by Brad [MSFT] on 10/28/2016 at 1:32 PM
Thank you for the feedbacki. This should be fixed in latest releases.
Posted by mheptinstall on 8/12/2016 at 3:13 AM
Clean/rebuild works temporarily but I still keep getting the error message and have to clean/rebuild again.
Posted by Brad Syputa on 8/4/2016 at 8:53 AM
On your project, there are properties that are set for target server version. You can change the target server from 2016 to earlier versions, clean and rebuild your solution.

1. Right click the Project node in solution explorer.

2. Change TargetServerVersion to the version you desire.

3. Clean and Rebuild your solution.

4. Deploy.

We are also working on some ideas to make this a better experience.