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 |
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
- Open the CSPROJ file (you must unload the project to open the file) and remove the following code (if contained):
<AspNetCoreHostingModel>InProcess</AspNetCoreHostingModel>
Use .NET Core 2.1 - InProcess hosting is not available there, hence the problem does not exist.
Use .NET Core 3.0 - The problem is fixed in this version.