New to Telerik ReportingStart a free 30-day trial

Export to PDF fails from ASP.NET Core 2.2 projects

Environment

Product Version13.1.19.618
ProductProgress® Telerik® Reporting
Project TypeASP.NET Core 2.2
Rendering FormatPDF

Description

The InProcess hosting is new in ASP.NET Core 2.2 - check for example ASP.NET Core In Process Hosting on IIS with ASP.NET Core 2.2. This setting results in a problem when exporting a report in PDF in ASP.NET Core 2.2 projects. The problem is general and is reproducible with our demos.

Solutions

  1. Open the CSPROJ file (you must unload the project to open the file) and remove the following code (if contained):
XML
<AspNetCoreHostingModel>InProcess</AspNetCoreHostingModel>
  1. Use .NET Core 2.1 - InProcess hosting is not available there, hence the problem does not exist.

  2. Use .NET Core 3.0 - The problem is fixed in this version.

In this article
EnvironmentDescriptionSolutions
Not finding the help you need?
Contact Support