After migrating from PB12.5 to Appeon PB 2017 (1681), our application crashes with this message in the Windows Event Viewer - application:
Faulting application name: PB170.EXE, version: 17.0.0.1681, time stamp: 0x59c46b21
Faulting module name: PBSHR170.dll, version: 17.0.0.1681, time stamp: 0x59c46aeb
Exception code: 0xc0000005
Fault offset: 0x0011991b
Faulting process id: 0x2a34
Faulting application start time: 0x01d374b952c05ffb
Faulting application path: C:\Program Files (x86)\Appeon\PowerBuilder 17.0\PB170.EXE
Faulting module path: C:\Program Files (x86)\Appeon\Shared\PowerBuilder\PBSHR170.dll
Report Id: 2f23f5e6-3cce-4e3b-8c1b-e4e61c647ea6
Faulting package full name:
Faulting package-relative application ID:
The error occurs when closing this procedure:
DECLARE wf_OppdaterBunt PROCEDURE FOR mts.spr_OppdaterBunt@Klient = :ai_klientnr,@UserID = :as_userid,@BuntType = :as_bunttype,@PeriodeDato = :ad_pdato,@BuntNr = :al_buntnr;execute wf_OppdaterBunt;FETCH wf_OppdaterBunt INTO :il_feilno,:il_linjeno;
Here the application crashes:
close wf_OppdaterBunt;
This works just fine in PB12.5, so this is obviously something in Appeon PowerBuilder.
Can you read something from the event message, shown on top of this post?
Regards,
Bjarne Anker
Maritech Systems AS
Norway