• Integrated ReportWriter Report error

    From Captain Goofy@21:1/5 to All on Wed Mar 20 14:14:23 2019
    Hello,

    I am receiving this error in C10 and a newly installed version of C11 (installed C11 to see if the error would go away). The report is a .repxl report created with ReportWrite 10 and re-saved in ReportWriter 11. Previews fine in both.

    The error I receive when trying to run the report from the application is:

    "An error occurred loading the report: DevExpress.XtraReports.v9.1
    at DevExpress.XtraReports,UI.XtraReport.FromStream(Stream stream, Boolean loadState)
    at RptPreviewer.ClarionReport.OpenReport(Int32 reportId)"

    I have included RWPRLIB.INC after Global Includes.
    I have included ClaPRLIB.LIB in the project using C%V%prlb%X%.lib.
    I have this code "RE ReportEngine" in the Global After Data Embed point.
    I have this code in order to execute the report:

    RE.LoadReportLibrary('C:\Users\Rick.MI-ENT-01\Documents\C10 Projects\Current In Development Program\SQL\With FM3\Shipping Mar 06 2019\Shipping.repxl') !For Testing

    RE.SetPreview(-1)
    RE.PrintReport('GroupsList')
    RE.UnloadReportLibrary

    I have tried a shorter path name for the RE.LoadReportLibrary method but receive the same error.

    Does anyone have any ideas how to repair this?

    Thanks.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From jits.ambaram@gmail.com@21:1/5 to Captain Goofy on Tue Mar 16 05:20:46 2021
    On Wednesday, 20 March 2019 23:14:26 UTC+2, Captain Goofy wrote:
    Hello,

    I am receiving this error in C10 and a newly installed version of C11 (installed C11 to see if the error would go away). The report is a .repxl report created with ReportWrite 10 and re-saved in ReportWriter 11. Previews fine in both.

    The error I receive when trying to run the report from the application is:

    "An error occurred loading the report: DevExpress.XtraReports.v9.1
    at DevExpress.XtraReports,UI.XtraReport.FromStream(Stream stream, Boolean loadState)
    at RptPreviewer.ClarionReport.OpenReport(Int32 reportId)"

    I have included RWPRLIB.INC after Global Includes.
    I have included ClaPRLIB.LIB in the project using C%V%prlb%X%.lib.
    I have this code "RE ReportEngine" in the Global After Data Embed point.
    I have this code in order to execute the report:

    RE.LoadReportLibrary('C:\Users\Rick.MI-ENT-01\Documents\C10 Projects\Current In Development Program\SQL\With FM3\Shipping Mar 06 2019\Shipping.repxl') !For Testing

    RE.SetPreview(-1)
    RE.PrintReport('GroupsList')
    RE.UnloadReportLibrary

    I have tried a shorter path name for the RE.LoadReportLibrary method but receive the same error.

    Does anyone have any ideas how to repair this?

    Thanks.

    Hi Captain Goofy
    Did you find the solution for this. I am experiencing the same error.
    Please let me know
    Thanks

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Richard Horn@21:1/5 to email removed on Tue Mar 16 07:46:56 2021
    On Tuesday, March 16, 2021 at 5:20:48 AM UTC-7, email removed wrote:
    On Wednesday, 20 March 2019 23:14:26 UTC+2, Captain Goofy wrote:
    Hello,

    I am receiving this error in C10 and a newly installed version of C11 (installed C11 to see if the error would go away). The report is a .repxl report created with ReportWrite 10 and re-saved in ReportWriter 11. Previews fine in both.

    The error I receive when trying to run the report from the application is:

    "An error occurred loading the report: DevExpress.XtraReports.v9.1
    at DevExpress.XtraReports,UI.XtraReport.FromStream(Stream stream, Boolean loadState)
    at RptPreviewer.ClarionReport.OpenReport(Int32 reportId)"

    I have included RWPRLIB.INC after Global Includes.
    I have included ClaPRLIB.LIB in the project using C%V%prlb%X%.lib.
    I have this code "RE ReportEngine" in the Global After Data Embed point.
    I have this code in order to execute the report:

    RE.LoadReportLibrary('C:\Users\Rick.MI-ENT-01\Documents\C10 Projects\Current In Development Program\SQL\With FM3\Shipping Mar 06 2019\Shipping.repxl') !For Testing

    RE.SetPreview(-1)
    RE.PrintReport('GroupsList')
    RE.UnloadReportLibrary

    I have tried a shorter path name for the RE.LoadReportLibrary method but receive the same error.

    Does anyone have any ideas how to repair this?

    Thanks.
    Hi Captain Goofy
    Did you find the solution for this. I am experiencing the same error.
    Please let me know
    Thanks

    Hello,

    No, I don't think I did find a solution. I have removed all of the code for calling external reports, so I think I abandoned this. Since then I have rewritten all of my reports using the procedure report template in the IDE. This problem may be the
    reason why I moved away from calling external reports.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From jits.ambaram@gmail.com@21:1/5 to Richard Horn on Tue Mar 16 11:31:59 2021
    On Tuesday, 16 March 2021 16:46:57 UTC+2, Richard Horn wrote:
    On Tuesday, March 16, 2021 at 5:20:48 AM UTC-7, email removed wrote:
    On Wednesday, 20 March 2019 23:14:26 UTC+2, Captain Goofy wrote:
    Hello,

    I am receiving this error in C10 and a newly installed version of C11 (installed C11 to see if the error would go away). The report is a .repxl report created with ReportWrite 10 and re-saved in ReportWriter 11. Previews fine in both.

    The error I receive when trying to run the report from the application is:

    "An error occurred loading the report: DevExpress.XtraReports.v9.1
    at DevExpress.XtraReports,UI.XtraReport.FromStream(Stream stream, Boolean loadState)
    at RptPreviewer.ClarionReport.OpenReport(Int32 reportId)"

    I have included RWPRLIB.INC after Global Includes.
    I have included ClaPRLIB.LIB in the project using C%V%prlb%X%.lib.
    I have this code "RE ReportEngine" in the Global After Data Embed point. I have this code in order to execute the report:

    RE.LoadReportLibrary('C:\Users\Rick.MI-ENT-01\Documents\C10 Projects\Current In Development Program\SQL\With FM3\Shipping Mar 06 2019\Shipping.repxl') !For Testing

    RE.SetPreview(-1)
    RE.PrintReport('GroupsList')
    RE.UnloadReportLibrary

    I have tried a shorter path name for the RE.LoadReportLibrary method but receive the same error.

    Does anyone have any ideas how to repair this?

    Thanks.
    Hi Captain Goofy
    Did you find the solution for this. I am experiencing the same error. Please let me know
    Thanks

    Hello,

    No, I don't think I did find a solution. I have removed all of the code for calling external reports, so I think I abandoned this. Since then I have rewritten all of my reports using the procedure report template in the IDE. This problem may be the
    reason why I moved away from calling external reports.

    Thank you

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)