ReportPro2 2.38 for X# 2.60 crash on startup

This forum is the place to discuss issues related to ReportPro, Xs2Ado, Vo2Ado, bBrowser and other 3rd party products
User avatar
Michal Rajnoha
Posts: 23
Joined: Wed Sep 29, 2021 6:57 am

ReportPro2 2.38 for X# 2.60 crash on startup

Post by Michal Rajnoha »

Trying to run ReportPro2 2.38 for X# 2.60 ends with the following exception:

Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.MissingMethodException
at ReportPro2_Base.Functions.rpLoadLanguageDLL()
at ReportPro2_Runtime.Functions._LoadRpLanguageDLL()
at ReportPro2_Runtime.Functions.$Init2()
at <Module>.$AppInit()


Running it from an X# application via runtime dll also produces the same exception.
Trimel
Posts: 1
Joined: Fri Oct 08, 2021 8:16 am

ReportPro2 2.38 for X# 2.60 crash on startup

Post by Trimel »

To specify a bit more - it doesn't run when XSharp 2.8a is installed.
User avatar
Chris
Posts: 4953
Joined: Thu Oct 08, 2015 7:48 am
Location: Greece

ReportPro2 2.38 for X# 2.60 crash on startup

Post by Chris »

Michal and Trimel,

Sorry about that guys, accidentally this version (2.38) uses something from the X# runtime that is only available in our current internal build (2.9), which means that it will be working fine after the new build is released in a few days.

In the meantime, can you please download and install the RP2 2.36 version instead? If there's something included in 2.38 that is necessary for you now, please let me know and I will recompile it with X# 2.8 and will send you new binaries.

.
Chris Pyrgas

XSharp Development Team
chris(at)xsharp.eu
User avatar
robert
Posts: 4553
Joined: Fri Aug 21, 2015 10:57 am
Location: Netherlands

ReportPro2 2.38 for X# 2.60 crash on startup

Post by robert »

Chris,
You are right. I checked it too and this build uses the new overloads for Empty() that we added to the runtime.
I will recompile 2.38 against the older runtime tomorrow.

Robert
XSharp Development Team
The Netherlands
robert@xsharp.eu
User avatar
Chris
Posts: 4953
Joined: Thu Oct 08, 2015 7:48 am
Location: Greece

ReportPro2 2.38 for X# 2.60 crash on startup

Post by Chris »

Robert,

It's also using the new RuntimeState:CompilerOptionFox2 property.

.
Chris Pyrgas

XSharp Development Team
chris(at)xsharp.eu
User avatar
Michal Rajnoha
Posts: 23
Joined: Wed Sep 29, 2021 6:57 am

ReportPro2 2.38 for X# 2.60 crash on startup

Post by Michal Rajnoha »

It's OK, we're still only trying out our options for migration from VO to X# and we're not bound to any specific version yet. ReportPro2 2.36 works so far.
User avatar
robert
Posts: 4553
Joined: Fri Aug 21, 2015 10:57 am
Location: Netherlands

ReportPro2 2.38 for X# 2.60 crash on startup

Post by robert »

A new installer for RP2.39 for X# has been uploaded to the website. This fixes the issues with 2.38.

Check here:
https://www.xsharp.eu/itm-downloads/dow ... -XS260.zip

Robert
XSharp Development Team
The Netherlands
robert@xsharp.eu
ic2
Posts: 1861
Joined: Sun Feb 28, 2016 11:30 pm
Location: Holland

ReportPro2 2.38 for X# 2.60 crash on startup

Post by ic2 »

Hello Robert.

This time ReportPro starts. But when I open an existing report or select File/New it crashes immediately. Also when I limit the DOS path to the ReportPro directory itself, so I suspect it has nothing to do with my installed X# 2.7 instead of 2.8x.

Below the Application Log data (EDIT: I added one more entry, something is missing, not sure if that is dependent on an installed 2.8 or not)

Dick

Faulting application name: ReportPro2.exe, version: 2.39.0.4, time stamp: 0x616ee972
Faulting module name: KERNELBASE.dll, version: 10.0.19041.1202, time stamp: 0x448a4f5d
Exception code: 0xc000041d
Fault offset: 0x0012b5b2
Faulting process ID: 0x1a90
Faulting application start time: 0x01d7c506bf9ee14c
Faulting application path: C:ReportPro239XSBinReportPro2.exe
Faulting module path: C:WINDOWSSystem32KERNELBASE.dll
Report ID: 17982c64-f026-485b-8c2b-fa5e7c04413e
Faulting package full name:
Faulting package-relative application ID:
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Application: ReportPro2.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.MissingMethodException
at ReportPro2.RpReportDesigner.Dispatch(XSharp.__Usual[])

Exception Info: XSharp.Error
at XSharp.RT.OOPHelpers.SendHelper(System.Object, System.Reflection.MethodInfo, XSharp.__Usual[], XSharp.__Usual ByRef)
at XSharp.RT.OOPHelpers.SendHelper(System.Object, System.String, XSharp.__Usual[], XSharp.__Usual ByRef)
at XSharp.RT.OOPHelpers.DoSend(System.Object, System.String, XSharp.__Usual[])
at XSharp.RT.Functions.__InternalSend(XSharp.__Usual, System.String, XSharp.__Usual[])
at VO.__DocApp.Dispatch(XSharp.__Usual[])
at VOGUIClasses.Functions.__WCDocAppWndProc(Void*, UInt32, UInt32, Int32)
FFF
Posts: 1589
Joined: Fri Sep 25, 2015 4:52 pm
Location: Germany

ReportPro2 2.38 for X# 2.60 crash on startup

Post by FFF »

Dick,
sure, you got 2.39?
Just got me the download, installed, run designer, open my designed rpts, works.Called rpts from app, works, too.
Thx Robert!
Regards
Karl
(on Win8.1/64, Xide32 2.20, X#2.20.0.3)
User avatar
robert
Posts: 4553
Joined: Fri Aug 21, 2015 10:57 am
Location: Netherlands

ReportPro2 2.38 for X# 2.60 crash on startup

Post by robert »

Karl,
Dick tries to use it with X# 2.7.
I'll check to see why this does not work.


Robert
XSharp Development Team
The Netherlands
robert@xsharp.eu
Post Reply