1. Dinesh Babu Sivakumar
  2. PowerBuilder
  3. Tuesday, 18 September 2018 20:24 PM UTC

Hi all,

I'm getting the null responses from non-development device by running executables (.exe) i.e., PB2017 R3 is not installed in this device. But I'm getting the responses from a device where PB is installed. The code is shown below:

li_rc = lnv_HttpClient.SendRequest("GET", "http://demo.appeon.com/PB/webapi_client/employee/243")
if li_rc = 1 then
  lnv_HttpClient.GetResponseBody(ls_string)
End If

Messagebox("Response body",ls_string)

Along with the executables, the below libraries (dll's) had copied. Could you please let me know if any other dll's are missing? 

Accepted Answer
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Tuesday, 18 September 2018 20:47 PM UTC
  2. PowerBuilder
  3. # Permalink

Hi Dinesh;

    Did you install the PB2017R3 run-time files via their MSI created from the PB Packager Utility?

Regards ... Chris

Comment
There are no comments made yet.
Melissa Black Accepted Answer Pending Moderation
  1. Monday, 16 November 2020 14:24 PM UTC
  2. PowerBuilder
  3. # 1

I'm having the same issue and I'm looking to see what .dlls are missing on non developer machines. The code works on my machine and not theirs. Please advise. When you say "Yes, as the MSI will register some DLL's in the GAC where just copying the run-time DLL's will not do" please tell me specifically what I need to run or do on the non-developer machines.

Thank you!

Comment
There are no comments made yet.
Muthukrishnan Sundararajan Accepted Answer Pending Moderation
  1. Wednesday, 5 June 2019 00:20 AM UTC
  2. PowerBuilder
  3. # 2

I tried with the 32-bit component and it works perfectly alright. Thank you so much Chris & Roland for your assistance!!

Comment
There are no comments made yet.
Muthukrishnan Sundararajan Accepted Answer Pending Moderation
  1. Tuesday, 4 June 2019 19:55 PM UTC
  2. PowerBuilder
  3. # 3

I tried this and no luck. The user still gets a NULL response from the sendrequest. The user uses a 64 bit OS, so I provided the .msi file generated with 64 bit components. I see SOAP Client for WebService getting disabled when I select 64 bit components. Can you please let me know if this would work on 64 bit machines too?

Comment
  1. Roland Smith
  2. Tuesday, 4 June 2019 20:31 PM UTC
The bitness of the operating system and the bitness of the applications run on it are two separate things. Windows is 64bit but runs 32bit apps perfectly fine. Whatever their problem is, bitness is not it. Switch back to 32bit components.
  1. Helpful
There are no comments made yet.
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Tuesday, 4 June 2019 19:16 PM UTC
  2. PowerBuilder
  3. # 4

Yes, as the MSI will register some DLL's in the GAC where just copying the run-time DLL's will not do.

Comment
There are no comments made yet.
Muthukrishnan Sundararajan Accepted Answer Pending Moderation
  1. Tuesday, 4 June 2019 19:12 PM UTC
  2. PowerBuilder
  3. # 5

Hi Chris,

 

Thanks for your response. I extracted the files created from executing the .msi file and shared those with the user who is on the non-development machine and it did not work. Should I be sending the .msi file and let the user run it through?

Comment
There are no comments made yet.
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Tuesday, 4 June 2019 19:06 PM UTC
  2. PowerBuilder
  3. # 6

Hi Muthukrishnan;

    Did you install the PB2017R3 run-time files via their MSI created from the PB Packager Utility?

Regards ... Chris

Comment
There are no comments made yet.
Muthukrishnan Sundararajan Accepted Answer Pending Moderation
  1. Tuesday, 4 June 2019 15:51 PM UTC
  2. PowerBuilder
  3. # 7

Hi Chris -

I had a similar issue where a webservice call using sendrequest function using POST method returns a NULL value. I tried to get the DLLs obtained using the PB Runtime packager and shared with the user who is on a non-development machine and the error still continues to appear. 

Can you please help us here?

Comment
There are no comments made yet.
John Vanleeuwe Accepted Answer Pending Moderation
  1. Thursday, 20 September 2018 15:29 PM UTC
  2. PowerBuilder
  3. # 8

Interested to know which DLLs were missing please ? 

TIA

John

Comment
  1. Miguel Leeuwe
  2. Tuesday, 4 June 2019 18:45 PM UTC
I think it's more a question of the MSI registering certain dll's on the GAC. Not really a case of missing DLL's.

regards,

Miguel L
  1. Helpful
There are no comments made yet.
Dinesh Babu Sivakumar Accepted Answer Pending Moderation
  1. Wednesday, 19 September 2018 03:49 AM UTC
  2. PowerBuilder
  3. # 9

Thanks Chris. It resolved my issue.

Comment
  1. Chris Pollach @Appeon
  2. Wednesday, 19 September 2018 13:59 PM UTC
You are most welcome ... excellent news Dinesh! :-)
  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.