AR16 GrapeCity.Documents.Pdf abnormal

Posted by: 1010964899 on 19 July 2023, 11:58 pm EST

  • Posted 19 July 2023, 11:58 pm EST

    I deployed a. NET Framework project in IIS, which runs normally locally (window11). The same file reported an exception on the client server (windowServer 16). I confirmed that the server environment. NET environment is normal, and the following is an error screenshot. I want to know why, this has been bothering me for a long time,

    GrapeCity.ActiveReports.ReportException: An unexpected error occurred. Additional information: 'Method ‘ua’ in type ‘ayh’ from assembly ‘GrapeCity.Documents.Pdf, Version=5.1.0.790, Culture=neutral, PublicKeyToken=d55d733d2bfd5065’ does not have an implementation

  • Posted 19 July 2023, 11:58 pm EST

    GrapeCity.ActiveReports.ReportException: An unexpected error occurred. Additional information: ‘Method ‘ua’ in type ‘ayh’ from assembly ‘GrapeCity.Documents.Pdf, Version=5.1.0.790, Culture=neutral, PublicKeyToken=d55d733d2bfd5065’ does not have an implementation.’ —> System.TypeLoadException: Method ‘ua’ in type ‘ayh’ from assembly ‘GrapeCity.Documents.Pdf, Version=5.1.0.790, Culture=neutral, PublicKeyToken=d55d733d2bfd5065’ does not have an implementation.

    在 GrapeCity.Documents.Pdf.GcPdfDocument…ctor(String licenseKey)

    在 GrapeCity.ActiveReports.Core.Export.Pdf.Page.I…GrapeCity.ActiveReports.Rendering.Export.IGenerator.Init(IReport )

    在 GrapeCity.ActiveReports.Rendering.Export.DocumentRenderer.Render(TargetDeviceKind target, Boolean includePageMargins, PageControllerSettings pageSettings, IProgress

    1 progress, WatermarkSettings watermark, EvalPosition evalPosition, LayoutTreeKeeper keeper)    在 GrapeCity.ActiveReports.Export.Pdf.Page.PdfExport.Export(IReport report, Stream outStream, IProgress
    1 progress, PdfSettings settings, CancellationToken cancel)

    在 GrapeCity.ActiveReports.Export.Pdf.Page.PdfRenderingExtension.Render(IReport report, StreamProvider streams, NameValueCollection settings, CancellationToken cancel, IProgress
    1 progress)    在 GrapeCity.ActiveReports.Document.PageDocument.Render(IRenderingExtension renderingExtension, StreamProvider streams, NameValueCollection settings, Boolean forceDataRefresh, Boolean forceParameterDataRefresh, CancellationToken token, IProgress
    1 progress)

  • Posted 23 July 2023, 9:24 am EST

    Hi Bin,

    Please try using the latest version of ActiveReports. To upgrade your application to ActiveReports 17.1.2 please follow the following steps:

    1. Install ActiveReports 17. You may use the following link to download the latest version of ActiveReports 17: Download ActiveReports 17
    2. Open your project in Visual Studio 2022 and go to Tools>Convert To ActiveReports 17.

    This will re-add ActiveReports references using the installed version of ActiveReports 17.

    If you are facing this issue in ActiveReports 16 then download the latest version of ActiveReports 16. Download Activereports 16.4.1

    And similar to ActiveReports 17 you may use the Tools>Convert To ActiveReports 16 option in Visual Studio 2022.

    If the issue persists, then please share a stripped down sample reproducing the issue with the steps to reproduce it. And environment details of the client server so we can replicate the machine at our end and report this to the development team if need be.

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels