1. MOHAN KRISHNA DEVARAPU
  2. PowerBuilder
  3. Tuesday, 28 January 2020 10:52 AM UTC

Hello,

I have migrated PB12 to PB17, during this migration process we have tested webservice it is working on the PC where powerbuilder17 is installed but not working on others PC if we generate .exe and place all the needed dlls.

Getting "ERROR LOADING SPECIFIED LIBRARY". I have copied almost all the dll but no luck thanks to help.

Michael Kramer Accepted Answer Pending Moderation
  1. Tuesday, 28 January 2020 11:29 AM UTC
  2. PowerBuilder
  3. # 1

My assumption is that somewhere in your PBL files you imported a .PBX file (containing web-service extensions). Alternatively you include a PBxxx120.PBD file containing web-service or XML processing.

  • Does any file in your library list have name like PBxxx120.PBD ?
  • Did you update the Sybase-PowerBuilder assemblies to the v. 17 files?
    You find them in folder = "...\shared\PowerBuilder"

You will need to upgrade every PB version 12 component to current PB 17.

HTH /Michael

Comment
  1. MOHAN KRISHNA DEVARAPU
  2. Tuesday, 28 January 2020 11:32 AM UTC
Here problem is if I installed pb17 on the same machine(failure machine) it is working. If I uninstall it failing. I have copied all the dll mentioned by appeon team
  1. Helpful
  1. Michael Kramer
  2. Tuesday, 28 January 2020 11:34 AM UTC
Some file at runtime is either missing or compiled for version 12 of the PBVM.

PB has a runtime packager tool to create installer which includes ALL relevant files.
  1. Helpful
There are no comments made yet.
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Tuesday, 28 January 2020 15:56 PM UTC
  2. PowerBuilder
  3. # 2

Hi Mohan;

   The issue is most likely caused because you did not deploy the PB.Net run-time via the PB Packager.

   In PB2017/2019, the PB Packager does not display this option any longer. Here is what you need to do in order to restore this deployment option ...

1) Create a PBPACK.ini file.

2) Add the following section & value to the INI file, as follows:

[Packager]
DotNetComponents=1

3) Copy the PBPACK.ini to the PB's "Shared" foilder

3) Restart the PB Packager and then choose the "PB .Net Components" option to create the PB.Net MSI

4) Run the new MSI on the IIS Server machine where the deployed WS resides.

HTH

Regards ... Chris

Comment
  1. iliyan iliev
  2. Monday, 7 February 2022 09:29 AM UTC
In PB 2019R3 & PB2021 i can't find share folder ?! PB.Net include in installation ?!

If not where unlock this option in packager ?!
  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.