problem for creating a PDF file with reportviewer

Michel Drotkowski 1 Reputation point
2021-03-25T08:13:10.417+00:00

hello, I would like to report a problem with the method render of reportviewer in a winform for PDF files The last version downloaded from package nuget "Microsoft.reportingServices.ReportViewerControl.Winforms" v150.1440.0 return an error for creating PDF files: "PInvokeStackImbalance: ... Microsoft.Reportviewer.Common!Microsoft.ReportingServices.Renderering.ImageRenderer.FontPackage:CreateFontPackage" has imbalance the stack" The last OK version is the 15.0.900.148

SQL Server Reporting Services
SQL Server Reporting Services
A SQL Server technology that supports the creation, management, and delivery of both traditional, paper-oriented reports and interactive, web-based reports.
2,102 questions
No comments
{count} votes

2 answers

Sort by: Most helpful
  1. ZoeHui-MSFT 18,896 Reputation points Microsoft Employee
    2021-03-26T07:01:00.213+00:00

    Hi @Michel Drotkowski ,

    Not familiar with develop.

    Noticed that reportviewer150.1449.0 have been published, you may use the latest release for a try.

    150.1449.0

    Regards,

    Zoe


    If the answer is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.
    Hot issues October

    No comments

  2. Michel Drotkowski 1 Reputation point
    2021-03-26T08:00:17.207+00:00

    Thank you Zoe for your help.
    The version 150.1449.0 has been published between our two posts.
    I've tried this last reportviewer version. Unfortunately, the problem is not solved with this version.
    Seems to be a problem with windows 10 version 20H2. All is OK with version 1909
    Best regards
    Michel

    No comments