1. Amit De Picciotto
  2. PowerBuilder
  3. Tuesday, 15 March 2022 20:26 PM UTC

Hi,

After migrating from PB 2017 to PB 2021, setup been created and deployed to clean VM, but, nothing works...

It seems, via process explorer, that PB run time, from folder 'Runtime 21.0.0.1506', under the application folder is not loaded.

Few observations:

1) It does work on DEV environment (PBVM.dll is loaded on DEV environment)

2) There is XML that point to the run time (app_name.xml):

<?xml version="1.0" encoding="utf-8" ?>
<Application>
<RuntimePath>Runtime 21.0.0.1506</RuntimePath>
</Application>

3) Even adding the run time folder to PATH did not helped

4) copy few files from runtime folder, one level up, to application folder did not helped either

the exact point where the application crash:

DataStore.dataobject = 'd_gd_xxx'

Any idea?

Many thanks

 

Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Thursday, 17 March 2022 20:14 PM UTC
  2. PowerBuilder
  3. # 1

Hi Amit;

   That is great news .. I am super glad that you found the solution!  :-)

Regards ... Chris

Comment
There are no comments made yet.
Amit De Picciotto Accepted Answer Pending Moderation
  1. Thursday, 17 March 2022 15:29 PM UTC
  2. PowerBuilder
  3. # 2

Thanks, Chris!

Indeed, your advice lead to the solution...

When I created the package, I selected only the components that I needed, I don't know if it bug on the packager, or, mistake on my side, but, when i create new package with 'select all' the application lunched as expected, I will check it threw since i want to deliver the minimum as possible.

 

Many thanks!

Amit

Comment
  1. John Fauss
  2. Thursday, 17 March 2022 20:35 PM UTC
I'm glad to hear you found an answer to your issue, Amit! When you get a chance, would you please mark this issue as resolved? Thank you!
  1. Helpful
There are no comments made yet.
Amit De Picciotto Accepted Answer Pending Moderation
  1. Wednesday, 16 March 2022 21:20 PM UTC
  2. PowerBuilder
  3. # 3

Thanks Chris!

But still, it seems that i'm missing something: I changed the relative to full path, but still, on the process explorer i cannot see files as PBVM.DLL that are loaded.

In addition, when I remove the my_app_name.xml I do get the error:
Error
---------------------------
There is currently no matching version,Lowest Supported Version:21.0.0.1506

Which is a good sign that it does recognize the XML.

Is there anything else that I need to do? even adding the runtime folder to PATH not helping here

 

Is there anything on the WINDOWS OS that need to be done?

I checked it on two different VMs with the same result

 

Any advice will help

Thanks! 

 

Comment
  1. Chris Pollach @Appeon
  2. Wednesday, 16 March 2022 21:40 PM UTC
Hi Amit ... did you run the "PB Packager" utility to create the runtime installer? Then run that on the deployment machine - pointing the install location to C:\Program Files (x86)\Appeon\Common\PowerBuilder\Runtime 21.0.0.1506
  1. Helpful
There are no comments made yet.
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Tuesday, 15 March 2022 20:53 PM UTC
  2. PowerBuilder
  3. # 4

Hi Amit;

  Your XML file seems incorrect. Here is mine ...

<?xml version="1.0" encoding="utf-8" ?>
<Application>
    <RuntimePath>C:\Program Files (x86)\Appeon\Common\PowerBuilder\Runtime 21.0.0.1506</RuntimePath>
</Application>

Regards ... Chris

Comment
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.