Hi,
I created a report using a telerik report designer and save as trdp file. I run this report in .net core application and generate the pdf files like this:
Report report;
using
(var sourceStream = System.IO.File.OpenRead(ReportFilePath))
{
var reportPackager =
new
ReportPackager();
report = (Report)reportPackager.UnpackageDocument(sourceStream);
}
var irs = CreateReportSource(reportHeader, account, report);
var reportProcessor =
new
Telerik.Reporting.Processing.ReportProcessor();
var renderedReport = reportProcessor.RenderReport(
"PDF"
, irs,
null
);
return
renderedReport.DocumentBytes;
The problem is that the report is wrong generating on linux machine. (On windows looks ok)
Could you tell me where is the problem?
I use RHEL7 with dotnet 2.1 runtime.
Please check the attached screenshots
Thanks for the answer