1. Gabor Pernyei
  2. PowerBuilder
  3. Tuesday, 28 November 2023 21:50 PM UTC

Hi Everyone!

 

I migrated an PB12.5 application to PB2022 R2. When I trying "Run Application" I got this error:

Applications created with PB2022 R2 runs as well. Also other migrated apps. Only this one doesn't.

What can I do to fix it?

 

 

Accepted Answer
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Tuesday, 28 November 2023 22:23 PM UTC
  2. PowerBuilder
  3. # Permalink

Hi Gabor;

  I would guess that in this particular App, it's checking to see if it's running as a compiled EXE or running as a sub-task underneath the PB IDE (ie: PB220.exe). My guess is that it might be expecting PB125.exe and if not verified as such  - puts out this message. The best way to verify this (IMHO) would be to run the App via the IDE's "debugger" and follow the flow of the code to where that related MessageBox command is performed. 

  Also, you could use the IDE's "search" feature to see if it has any code that compares the text value "PB125" or "the running module" part of the message and where that code could be found.  HTH

Regards ... Chris

Comment
There are no comments made yet.
Gabor Pernyei Accepted Answer Pending Moderation
  1. Tuesday, 28 November 2023 23:29 PM UTC
  2. PowerBuilder
  3. # 1

Hi Chris,

 

You are absolutely right! I found that checking in the code.

Thank you very much!

 

Best regards,

Gabor

 

Comment
  1. Chris Pollach @Appeon
  2. Wednesday, 29 November 2023 00:05 AM UTC
That's great news Gabor... Thanks for letting us know!
  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.