Hello,
I am getting this error: "Data at the root level is invalid. Line 1, position 1.'", when I try to Render the report. this is my code.
var uriReportSource = new UriReportSource();
uriReportSource.Uri = @"D:\Projects\folderName\folderName\folderName\folderName\Reports\reportName.trdp";
var deviceInfo = new Hashtable();
ReportProcessor reportProcessor = new ReportProcessor();
RenderingResult result = reportProcessor.RenderReport("PDF", uriReportSource, deviceInfo); - here I am getting the error.
Thank you :)
Without seeing the problematic report definition it is not possible to understand the source of the error.
This is because the error is usually accompanied by additional information indicating the report definition is not valid.
To further troubleshoot this, please provide the report definition for review. Thank you.