1. Kelly Dahmer
  2. PowerBuilder
  3. Friday, 30 November 2018 20:38 PM UTC

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 @Appeon Accepted Answer Pending Moderation
  1. Monday, 10 December 2018 20:06 PM UTC
  2. PowerBuilder
  3. # 1

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
  1. Eduardo G.
  2. Tuesday, 11 December 2018 08:04 AM UTC
Thank you very much, it works.
  1. Helpful
  1. Chris Pollach @Appeon
  2. Tuesday, 11 December 2018 16:08 PM UTC
Hi Eduardo;

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

Regards ... Chris
  1. Helpful
There are no comments made yet.
Eduardo G. Accepted Answer Pending Moderation
  1. Monday, 10 December 2018 10:35 AM UTC
  2. PowerBuilder
  3. # 2

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.
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Friday, 30 November 2018 20:46 PM UTC
  2. PowerBuilder
  3. # 3

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.
  • Page :
  • 1


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