1. Andres Slachevsky
  2. PowerBuilder
  3. Thursday, 14 January 2021 21:19 PM UTC

Hello All,

on windows server running a EXE the exportJson retunrs and empty string

all the other features are working

do we need any aditional DLL other than the ones of the runtime packager and the C++ runtime?

Andres Slachevsky Accepted Answer Pending Moderation
  1. Friday, 15 January 2021 15:03 PM UTC
  2. PowerBuilder
  3. # 1

Using process monitor we found that for some reason the pbjson170 was damage

we reinstall the runtime and it works

Comment
  1. Armeen Mazda @Appeon
  2. Friday, 15 January 2021 17:23 PM UTC
Thanks for sharing the solution!
  1. Helpful
There are no comments made yet.
Arthur Hefti Accepted Answer Pending Moderation
  1. Friday, 15 January 2021 14:49 PM UTC
  2. PowerBuilder
  3. # 2

Hi

did you check the DLLs deployed: pbjson.dll which has dependencies into MSVCP100.DLL and MSVCR100.DLL.

If so my other idea is whether the datawindow object is referenced dynamically and you deploy an exe and not a pbd containing the datawindow object. If so the datawindow is missing and not the Json generation would be the problem.

Regards
Arthur

Comment
There are no comments made yet.
Andres Slachevsky Accepted Answer Pending Moderation
  1. Friday, 15 January 2021 11:02 AM UTC
  2. PowerBuilder
  3. # 3

Hello Chris
yes we have copy the microsft DLL's to the client machine where the exe is running

everything else is working only the exportJson returns an empty string (the DW have the data and not null values)

the same DW with the same data is working where PB is installed 

Comment
There are no comments made yet.
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Thursday, 14 January 2021 21:58 PM UTC
  2. PowerBuilder
  3. # 4

Hi Andres;

   Yes, there are some non-PB DLL's and Microsoft ones that you need as well. If you open the PB Help file from the IDE and then search for the keywords "runtime files", you can then follow the "List of runtime files" link. In there you will get a detailed list of all DLL's required for any PB App EXE's runtime support. Note that some DLL's that are required are not included in the PB Packager utility either and must be manually copied (an issue corrected in the new PB2019 R3 PowerClient feature).

HTH

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.
We use cookies which are necessary for the proper functioning of our websites. We also use cookies to analyze our traffic, improve your experience and provide social media features. If you continue to use this site, you consent to our use of cookies.