.Net6 XLSX Report Rendering with ReportProcessor - RendererNotAvailableException

0 Answers 310 Views
General Discussions
Claus
Top achievements
Rank 1
Claus asked on 03 Mar 2022, 12:50 PM | edited on 10 Mar 2022, 07:55 AM

This is no longer an issue. Is export fine with latest packages:

<PackageReference Include="DocumentFormat.OpenXml" Version="2.8.1" />
<PackageReference Include="Telerik.Reporting" Version="16.0.22.225" />
<PackageReference Include="Telerik.Reporting.OpenXmlRendering" Version="16.0.22.225" />

 

Problem was "xlxs" rather than xlsx".

Dimitar
Telerik team
commented on 07 Mar 2022, 03:56 PM

If you have installed the Telerik.Reporting.OpenXmlRendering NuGet package, then you shouldn't need to also install the DocumentFormat.OpenXml NuGet package separately, maybe that is what is causing the issue?

Try to remove the DocumentFormat.OpenXml NuGet package from your project, and try to rebuild the project.

For example, the CSharp.Net6.HtmlIntegrationDemo references the following packages and is able to successfully export a report to XLSX:

    <PackageReference Include="Telerik.Reporting.OpenXmlRendering" Version="16.0.22.225" />
    <PackageReference Include="Telerik.Reporting.Services.AspNetCore" Version="16.0.22.225" />
    <PackageReference Include="Telerik.WebReportDesigner.Services" Version="16.0.22.225" />
 The demo is available in the install directory of Telerik Reporting -> Examples -> CSharp. 

 

No answers yet. Maybe you can help?

Tags
General Discussions
Asked by
Claus
Top achievements
Rank 1
Share this question
or