ReportPackager throws an exception when Packaging a Report.

1 Answer 23 Views
General Discussions
Richard
Top achievements
Rank 1
Richard asked on 09 Sep 2021, 10:48 PM

I am trying to convert a clr report to a trdp report, but when I call ReportPackager.Package I get the following exception:


Test method Purolator.Reports.Test.ConvertReport.CreateReportTest threw exception: 
System.ArgumentException: Invalid name character in 'List`1'. The '`' character, hexadecimal value 0x60, cannot be included in a name.
I have absolutely no idea why or how to fix the problem. I have converted other reports in my project without difficulty.

1 Answer, 1 is accepted

Sort by
0
Todor
Telerik team
answered on 14 Sep 2021, 07:47 AM

Hi Richard,

Based on the exception message, it seems that the name you try to give to the TRDP report contains the invalid character "`". You need to remove or replace it.

Please, note that the error was thrown by the custom method Purolator.Reports.Test.ConvertReport.CreateReportTest.

Regards,
Todor
Progress Telerik

Brand new Telerik Reporting course in Virtual Classroom - the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products. Check it out at https://learn.telerik.com/.
Richard
Top achievements
Rank 1
commented on 16 Sep 2021, 11:00 AM

I still don't know why the problem was occurring, but when I did not set the DataSource of the report I was able to convert the report.
Todor
Telerik team
commented on 21 Sep 2021, 07:01 AM

You may open a support ticket and send us the CLR report for local investigation. Unfortunately, the available information is not sufficient to diagnose the issue.
Tags
General Discussions
Asked by
Richard
Top achievements
Rank 1
Answers by
Todor
Telerik team
Share this question
or