PDF Export on Linux

Posted by: developersupport on 15 January 2021, 8:40 am EST

  • Posted 15 January 2021, 8:40 am EST

    I’m trying to export a PDF from a section report via a Linux based docker image and I’m running into this error. Is there a way to disable the FontLinks functionality so it doesn’t need access to the registry?

    System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.
    
    ---> System.TypeInitializationException: The type initializer for 'Microsoft.Win32.Registry' threw an exception.
    
    ---> System.PlatformNotSupportedException: Registry is not supported on this platform.
    
    at Microsoft.Win32.RegistryKey.OpenBaseKeyCore(RegistryHive hKey, RegistryView view)
    
    at Microsoft.Win32.Registry..cctor()
    
    --- End of inner exception stack trace ---
    
    at GrapeCity.ActiveReports.Export.Pdf.Section.PDFRender.GdiFontFactory.PopulateFontLinks()
    
    at GrapeCity.ActiveReports.Export.Pdf.Section.PDFRender.GdiFontFactory..ctor(FontCollection fontCollection)
    
    at GrapeCity.ActiveReports.Export.Pdf.Section.PDFRender.GdiFontFactory..ctor()
    
    at GrapeCity.ActiveReports.Export.Pdf.Section.PdfExport.CreateAndInitializeFontFactory(Boolean isProFeaturePermitted)
    
    at GrapeCity.ActiveReports.Export.Pdf.Section.PdfExport..ctor(FontFactory factory)
    
    at GrapeCity.ActiveReports.Export.Pdf.Section.PdfExport..ctor()
    
  • Posted 17 January 2021, 3:45 pm EST

    Hello,

    Currently, it is not supported to export SectionReport in PDF format in Linux. It is scheduled to support in the AR15.1. Could you please wait for the AR15.1 to use the ActiveReports in Linux environment.

    Thanks,

    Mohit

  • Posted 18 January 2021, 2:07 am EST

    Do you have a rough timeframe of when AR15.1 will be released?

  • Posted 18 January 2021, 6:14 pm EST

    Hello,

    It is scheduled to release in the mid week of the April 2021.

    Thanks,

    Mohit

  • Posted 11 February 2021, 7:48 pm EST

    Hi,

    Can you please release a hotfix for this issue? (It may be even some unofficial hotfix shipped outside of the official channel).

    We are in the process of evaluating possibility to run AR on Linux and we need it to be fixed to move forward. Waiting 2 months is too much.

    Thank you.

  • Posted 11 February 2021, 9:33 pm EST

    Hello,

    I have asked the development team(AR-25627) and will inform you once I get any information from them.

    Thanks,

    Mohit

  • Posted 18 February 2021, 2:15 am EST

    Any update?

  • Posted 20 February 2021, 6:43 pm EST

    Hello,

    I have asked the dev team on the priority basis about the same and will update you shortly.

    Thanks,

    Mohit

  • Posted 22 February 2021, 5:07 am EST

    Any update?

  • Posted 23 February 2021, 8:41 pm EST

    Hello ,

    unfortunately, we can’t release this feature right now.

    even if the call to registry will be disabled and the fonts collection will be filled by the default fonts on the machine the PDF output in the most cases comes garbled.

    please wait for the service pack.

    Thanks,

    Sergey Romanov.

  • Posted 7 April 2021, 11:41 pm EST

    Sergey,

    Is the release date of AR 15.1 already specified?

    Thank you.

  • Posted 9 April 2021, 2:47 am EST

    I’m also interested in an update on the release date? Is it still in the mid April timeframe?

  • Posted 11 April 2021, 5:39 pm EST

    Hello,

    It is scheduled to release on the 27th April 2021.

    Thanks,

    Mohit

Need extra support?

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

Learn More

Forum Channels