"Object variable or With block variable not set" Exporting Report with Mozilla

Posted by: luca on 28 October 2024, 8:08 am EST

    • Post Options:
    • Link

    Posted 28 October 2024, 8:08 am EST

    Active report 10 .

    Exporting report in Pdf with Mozilla i have this error : “Object variable or With block variable not set”

    ( the same code with Chrome works )

    This is the code

    [code]

    Dim _today As String = Today.ToShortDateString + Now.ToShortTimeString

    Dim _file As String = “”

    _file = Server.MapPath(“Documents/Offerts/”)

    Name_File = file & "Offerta" & _today.Substring(6, 4) & _today.Substring(3, 2) & _today.Substring(0, 2) & _today.Substring(10, 2) & _today.Substring(13, 2) & “.Pdf”

        Dim MyPDF As New GrapeCity.ActiveReports.Export.Pdf.Section.PdfExport
        Try
            MyPDF.Export(WebViewer1.Report.document, Name_File)
        Catch Errore As Exception
            LabMsg.Text = Errore.Message 
        End Try[/code]
    

    I try also with “~/Documents/Offerts/”

  • Posted 29 October 2024, 1:43 am EST

    Hi Luca,

    Can you please let us know the exact version of Mozilla Firefox, as ActiveReports 10 supports Mozilla Firefox 20 or higher? Along with that, can you please share with us your minimal, stripped-down sample replicating the issue so that we can test the same in the latest version and get back to you accordingly?

    Please note that ActiveReports 10 is our legacy version, and we do not provide bug fixes and feature enhancements for the same. Even if the bug is identified, the same will be checked in the latest version, and if the issue persists in the latest version as well, a fix will be provided for the latest version only. Hence, it is suggested to upgrade to the latest version, i.e., v18, for better support and timely fixes/enhancements.

  • Posted 29 October 2024, 3:58 am EST

    Hi,

    my FIrefox is 131.0.3.

    I have a web page with a viewer and a report. i click on a custom button to export the report by my code .

    Do you need more ?

  • Posted 29 October 2024, 4:42 am EST

    Hi Luca,

    Firefox 131.0.3 is the latest version of Firefox, and ActiveReports 10 is a legacy version, out of maintenance for quite many years now. ActiveReports 10 is not up-to-date with the latest technologies. However, our latest version, i.e., ActiveReports 18, supports Firefox 131.0.3 and doesn’t throw any such error. Hence, it is suggested to upgrade to the latest version, i.e., v18, for the fix.

    You may use the ActiveReports File Converter tool to upgrade your existing ActiveReports 10 reports to ActiveReports 18. You may refer to the following documentation link for the detailed conversion process using the converter tool:

    P.S., in order to use the ActiveReports File Converter tool for ActiveReports 18, make sure that ActiveReports 18 is installed on your machine. You may download ActiveReports 18 from the attached link and utilize its features free for the first 30 days: Download ActiveReports 18

    After downloading, you may refer to the attached documentation link for the detailed installation process: Install ActiveReports

    Also, since there are many differences between the product requirements for ActiveReports 10 and ActiveReports 18, please refer to the product requirements for ActiveReports 18 here: Product Requirements

    In addition to that, there have been many breaking changes between the versions. Hence, it is suggested to refer to the breaking changes for each version using the following links before upgrading:

    We hope this helps and feel free to get back to us if you face any issues in the upgradation process.

  • Posted 29 October 2024, 4:59 am EST

    in fact we are evaluating the transition to the new version.

    However, I wanted to know if anyone had had this case and if they had found a work around.

  • Posted 29 October 2024, 5:02 am EST

    Hi Luca,

    It will be suggested to either upgrade to ActiveReports 18 or use an older version of Firefox that is supported with ActiveReports 10.

Need extra support?

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

Learn More

Forum Channels