New to Telerik Reporting? Download free 30-day trial

Export to PDF fails from ASP.NET Core 2.2 projects

Environment

Product Version 13.1.19.618
Product Progress® Telerik® Reporting
Project Type ASP.NET Core 2.2
Rendering Format PDF

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):
<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