1. Bill Flight
  2. PowerBuilder
  3. Wednesday, 6 November 2024 19:26 PM UTC

Hello, we have migrated a large PB app from 12.6 to 2022 R3. It runs fine in the IDE. We use InstallShield to make our setup.exe, including the PB distributables. When we test the installed app, the login window works fine, but then as soon as it tries to open the main window, the app crashes. The crash is in PBDWE.DLL, version 22.2.0.3391, 0x6AEF0D82: Access violation reading location 0.

Any ideas?

Accepted Answer
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Wednesday, 6 November 2024 20:02 PM UTC
  2. PowerBuilder
  3. # Permalink

Hi Bill;

   The PBDWE module is the DWO "Expression Evaluator" component of the PB runtime. Errors occurring here right after App deployment could be because:

  • A DW Object is missing
  • An Expression is calling a Global Function which is missing.
  • The DWO's expression (or computed column) has encountered bad data and then fails to execute
  • Another supporting PB runtime DLL is missing. FYI: https://docs.appeon.com/pb2022r3/application_techniques/PowerBuilder_runtime_files.html
  • You have mixed PB runtime files of different versions on the deployment machine.
  • You may have failed to deploy the new (to PB 2022) <AppName>.XML file with the PB App EXE over to the deployment machine.

HTH

Regards .. Chris

Tip: Always make sure that your DW Control or DataStore container has the Error Event coded to trap more details on why a DWO might be failing. That also goes for the SystemError event of the App's Application Object as well.   ;-)

Comment
There are no comments made yet.
Bill Flight Accepted Answer Pending Moderation
  1. Thursday, 7 November 2024 21:45 PM UTC
  2. PowerBuilder
  3. # 1

Thanks for all the ideas, Chris. It turned out to be a missing DLL. We're good now, thanks.

Comment
  1. Chris Pollach @Appeon
  2. Thursday, 7 November 2024 21:58 PM UTC
Hi Bill;

You are most welcome!

Thank you for that update & the great news that your crashing issue is now fixed. :-)

Regards .. Chris
  1. Helpful
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.