1. Kelly Dahmer
  2. PowerBuilder
  3. Friday, 30 November 2018

Has anyone experienced any intermittent behavior with OLEObject, specifically Microsoft's ADSDSOObject (Microsoft OLE DB Provider for Microsoft Active Directory Service)?

We are using this as part of our Login routine, and the application in PB 2017 R3 runs as expected majority of the time.  The LDAP ADO query seems to always execute without error, but sometimes is returning an empty string for one of the properties in the Recordset returned.   

Nothing like this is occurring in our current PB 12.5.2 production release of this application.  

Due to the heavy usage and optics of this application, this issue may delay our big PB 2017 release until resolved.  

Chris Pollach Accepted Answer Pending Moderation
1
Votes
Undo

Hi Eduardo;

   Have you tried  ...

PB.INI

[JavaVM]
CreateJavaVM=0

 

Note: For your EXE's, create your own PB.INI with this entry & deploy the PB.INI in the same folder as your EXE (if the above works that is).

HTH

Regards ... Chris

 

 

 

Comment
Thank you very much, it works.
  1. Eduardo G.
  2. Tuesday, 11 December 2018
Hi Eduardo;

That is wonderful news ... Have a super day! :-)

Regards ... Chris
  1. Chris Pollach
  2. Tuesday, 11 December 2018
There are no comments made yet.
  1. Monday, 10 December 2018
  2. PowerBuilder
  3. # 1
Eduardo G. Accepted Answer Pending Moderation
0
Votes
Undo

In 2017 with ldap, something is happening, sometimes it works in other not, with PB 12.6 always works perfectly, we left the conversion of an application to PB 2017 for this problem.

Always fails CreateJavaInstance() returning -1

 

Comment
There are no comments made yet.
  1. Monday, 10 December 2018
  2. PowerBuilder
  3. # 2
Chris Pollach Accepted Answer Pending Moderation
0
Votes
Undo

Hi Kelly;

  Have you tried issuing a "hiccup" wait ( aka YIELD method in PB ) and then retrying the LDAP query again if the result set returned is empty?

Regards ... Chris

Comment
There are no comments made yet.
  1. Friday, 30 November 2018
  2. PowerBuilder
  3. # 3
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.