- Thomas Rolseth
- PowerBuilder
- Tuesday, 25 May 2021 01:38 PM UTC
We are migrating an application using Oracle from PB9 to PB 2019 R3 build 2703. They have a test version of the application that users can launch directly from a network share via a batch file that is called from a shortcut. I created a new folder on the network and put a new R3 build there along with all supporting files and the runtime.
When I run the application I get the attached error. I'm certain this is due to runtime path specified in the xml file that gets created as part of the build process now. The PB help (see below) talks about how to set the path. I've tried several different ways but none of them work. How do you set this correctly given that the exe is launched from a network share similar to the following?
\\server\vol1\INST\Test_UAT.bat
The batch file launches the exe that is in the INST folder. At the moment, the runtime files are in their own folder:
\\server\vol1\INST\Runtime
I've also tried it with the runtime co-mingled with the exe and PBDs and have deleted the the xml. Unfortunately it always tries to find the PBVM.dll file but never does.
From PB Help:
For example, if the "Runtime" folder is in the same folder as the executable file:
<RuntimePath>\Runtime\Runtime 19.2.0.2588</RuntimePath>
or if the "Runtime" folder is placed next to the folder which contains the executable file:
<RuntimePath>..\Runtime\Runtime 19.2.0.2588</RuntimePath>
Thanks, Tom
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.