How can I resolve the below error message that I receive when I try to deploy my report to our our Reporting Server
using BIDS
?
Message:
Error : The definition of the report '/OrderAnalysis' is invalid.
Report Element:
<Report xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner" xmlns:cl="http://schemas.microsoft.com/sqlserver/reporting/2010/01/componentdefinition" xmlns="http://schemas.microsoft.com/sqlserver/reporting/2010/01/reportdefinition">
Definition of this Report is Not Valid – Solution. There are no tricks to solving this problem. All you need to do is set the RDL to the appropriate version that's supported by your SSRS server.
I think quickest way is to go to the Solution Explorer window, right click on your PROJECT and go to Properties. It will open the deployment window and the very last option should be TargetServerVersion that will allow you to change the Target version.
(A straight iif check around the express doesn't work because SSRS evaluates both the true and false clauses first; if it gets a divide by zero on either clause, it will return #Error, even if that clause wouldn't have been used).
We can use the following code to save a report as PDF programmatically. FileStream fs = new FileStream(Server. MapPath("report. pdf"), FileMode.
I just received this obscure message when trying to deploy a report from BIDS.
After a little hunting I found a more descriptive error by going into the Preview window.
I found the problem to this... due to a incorrect/failed reference in .rdl to data conns etc. Also found that BIDS wasn't happy about having spaces in some of the project/report filenames... so anyone facing this issue make sure you have no spaces in your naming and check your rdl files, connections, everything for failed/out of date references! Visual Studio seems crap at keeping all of it's references up to date... god forbid you have to rename anything!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With