Sybase NNTP forums - End Of Life (EOL)

The NNTP forums from Sybase - forums.sybase.com - are now closed.

All new questions should be directed to the appropriate forum at the SAP Community Network (SCN).

Individual products have links to the respective forums on SCN, or you can go to SCN and search for your product in the search box (upper right corner) to find your specific developer center.

ordinal 319 missing in wldap32.dll

11 posts in Networking Last posting was on 2006-09-14 15:17:05.0Z
Paul Man Posted on 2006-09-12 12:25:07.0Z
From: "Paul Man" <paulman@datasoft.ie>
Newsgroups: advantage.networking
Subject: ordinal 319 missing in wldap32.dll
Date: Tue, 12 Sep 2006 13:25:07 +0100
Lines: 10
Organization: DSoft
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2869
X-RFC2646: Format=Flowed; Original
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2962
NNTP-Posting-Host: 82.141.233.142
Message-ID: <4506a63d@solutions.advantagedatabase.com>
X-Trace: 12 Sep 2006 06:21:17 -0700, 82.141.233.142
Path: solutions.advantagedatabase.com!solutions.advantagedatabase.com!82.141.233.142
Xref: solutions.advantagedatabase.com Advantage.Networking:645
Article PK: 1132064

We get this error when running our software on some windows 2000 machines.
What makes me think that it is linked to advantage is that if we change the
ADS server connection to local instead of remote ( to a remote machine) then
we don't get the error message.

this is ok on XP and I'm sure it has to do with the version of the
wldap32.dll. the problem is we are unable to update this file. What's the
connecitno with ADS for wldap anyway or is there another solution?


Mark Wilkins Posted on 2006-09-12 14:40:26.0Z
From: "Mark Wilkins" <mark@no.email>
Newsgroups: advantage.networking
References: <4506a63d@solutions.advantagedatabase.com>
Subject: Re: ordinal 319 missing in wldap32.dll
Date: Tue, 12 Sep 2006 08:40:26 -0600
Lines: 25
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2869
X-RFC2646: Format=Flowed; Response
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2962
NNTP-Posting-Host: 10.24.38.228
Message-ID: <4506c5ef@solutions.advantagedatabase.com>
X-Trace: 12 Sep 2006 08:36:31 -0700, 10.24.38.228
Path: solutions.advantagedatabase.com!solutions.advantagedatabase.com!10.24.38.228
Xref: solutions.advantagedatabase.com Advantage.Networking:646
Article PK: 1132066

Hi Paul,

I'm fairly sure that none of our libraries link in wldap32.dell (lightweight
directory access protocol). We don't use any of that functionality
directly. Can you test a remote connection using Advantage Data Architect
on one of those Win2000 machines?

Mark Wilkins
Advantage R&D

"Paul Man" <paulman@datasoft.ie> wrote in message
news:4506a63d@solutions.advantagedatabase.com...
> We get this error when running our software on some windows 2000 machines.
> What makes me think that it is linked to advantage is that if we change
> the ADS server connection to local instead of remote ( to a remote
> machine) then we don't get the error message.
>
> this is ok on XP and I'm sure it has to do with the version of the
> wldap32.dll. the problem is we are unable to update this file. What's
> the connecitno with ADS for wldap anyway or is there another solution?
>
>


Paul Man Posted on 2006-09-12 16:03:28.0Z
From: "Paul Man" <paulman@datasoft.ie>
Newsgroups: advantage.networking
References: <4506a63d@solutions.advantagedatabase.com> <4506c5ef@solutions.advantagedatabase.com>
Subject: Re: ordinal 319 missing in wldap32.dll
Date: Tue, 12 Sep 2006 17:03:28 +0100
Lines: 37
Organization: DSoft
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2869
X-RFC2646: Format=Flowed; Response
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2962
NNTP-Posting-Host: 82.141.233.142
Message-ID: <4506d969@solutions.advantagedatabase.com>
X-Trace: 12 Sep 2006 09:59:37 -0700, 82.141.233.142
Path: solutions.advantagedatabase.com!solutions.advantagedatabase.com!82.141.233.142
Xref: solutions.advantagedatabase.com Advantage.Networking:647
Article PK: 1132065

ARC32 works fine. I've traced through our code and basically the wldap32
error occurs when I call my adsconnection1.connected := true.
If the connection is set to local instead of remote then it is ok.
Is there some mechanism for refining the remote connection to try different
protocols to avoid the wldap32 problem. It seems the only way to update the
wldap32 dll is to start up the machine with the win2k repair process and
manually copy an updated file.

"Mark Wilkins" <mark@no.email> wrote in message
news:4506c5ef@solutions.advantagedatabase.com...
> Hi Paul,
>
> I'm fairly sure that none of our libraries link in wldap32.dell
> (lightweight directory access protocol). We don't use any of that
> functionality directly. Can you test a remote connection using Advantage
> Data Architect on one of those Win2000 machines?
>
> Mark Wilkins
> Advantage R&D
>
>
> "Paul Man" <paulman@datasoft.ie> wrote in message
> news:4506a63d@solutions.advantagedatabase.com...
>> We get this error when running our software on some windows 2000
>> machines. What makes me think that it is linked to advantage is that if
>> we change the ADS server connection to local instead of remote ( to a
>> remote machine) then we don't get the error message.
>>
>> this is ok on XP and I'm sure it has to do with the version of the
>> wldap32.dll. the problem is we are unable to update this file. What's
>> the connecitno with ADS for wldap anyway or is there another solution?
>>
>>
>
>


Mark Wilkins Posted on 2006-09-12 17:12:58.0Z
From: "Mark Wilkins" <mark@no.email>
Newsgroups: advantage.networking
References: <4506a63d@solutions.advantagedatabase.com> <4506c5ef@solutions.advantagedatabase.com> <4506d969@solutions.advantagedatabase.com>
Subject: Re: ordinal 319 missing in wldap32.dll
Date: Tue, 12 Sep 2006 11:12:58 -0600
Lines: 57
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2869
X-RFC2646: Format=Flowed; Response
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2962
NNTP-Posting-Host: 10.24.38.228
Message-ID: <4506e9ae@solutions.advantagedatabase.com>
X-Trace: 12 Sep 2006 11:09:02 -0700, 10.24.38.228
Path: solutions.advantagedatabase.com!solutions.advantagedatabase.com!10.24.38.228
Xref: solutions.advantagedatabase.com Advantage.Networking:648
Article PK: 1132067

ARC uses the same .connected := true logic to connect. Are you using the
same connection path when you tested with ARC? If so, it would go through
the same discovery process as the application. For example, if the
connection path includes a drive letter, Advantage has to convert the drive
letter to a server name before performing discovery. The least amount of
discovery processing is performed if the connection string is of the form
\\ip:port\path. In that case, it bypasses a lot of OS calls and pretty much
just starts talking immediately with the server. You might try a connect
path like that and see if that avoids the problem.

Does the application have an OnConnect event that possibly does something
different in response to a remote connection?

Mark Wilkins
Advantage R&D

"Paul Man" <paulman@datasoft.ie> wrote in message
news:4506d969@solutions.advantagedatabase.com...
> ARC32 works fine. I've traced through our code and basically the wldap32
> error occurs when I call my adsconnection1.connected := true.
> If the connection is set to local instead of remote then it is ok.
> Is there some mechanism for refining the remote connection to try
> different protocols to avoid the wldap32 problem. It seems the only way
> to update the wldap32 dll is to start up the machine with the win2k repair
> process and manually copy an updated file.
>
> "Mark Wilkins" <mark@no.email> wrote in message
> news:4506c5ef@solutions.advantagedatabase.com...
>> Hi Paul,
>>
>> I'm fairly sure that none of our libraries link in wldap32.dell
>> (lightweight directory access protocol). We don't use any of that
>> functionality directly. Can you test a remote connection using Advantage
>> Data Architect on one of those Win2000 machines?
>>
>> Mark Wilkins
>> Advantage R&D
>>
>>
>> "Paul Man" <paulman@datasoft.ie> wrote in message
>> news:4506a63d@solutions.advantagedatabase.com...
>>> We get this error when running our software on some windows 2000
>>> machines. What makes me think that it is linked to advantage is that if
>>> we change the ADS server connection to local instead of remote ( to a
>>> remote machine) then we don't get the error message.
>>>
>>> this is ok on XP and I'm sure it has to do with the version of the
>>> wldap32.dll. the problem is we are unable to update this file. What's
>>> the connecitno with ADS for wldap anyway or is there another solution?
>>>
>>>
>>
>>
>
>


Lance Schmidt Posted on 2006-09-12 18:10:14.0Z
From: "Lance Schmidt" <LanceSc@ExtendSys.com>
Newsgroups: advantage.networking
References: <4506a63d@solutions.advantagedatabase.com> <4506c5ef@solutions.advantagedatabase.com> <4506d969@solutions.advantagedatabase.com>
Subject: Re: ordinal 319 missing in wldap32.dll
Date: Tue, 12 Sep 2006 12:10:14 -0600
Lines: 64
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2869
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2962
X-RFC2646: Format=Flowed; Response
NNTP-Posting-Host: 10.24.38.153
Message-ID: <4506f71a@solutions.advantagedatabase.com>
X-Trace: 12 Sep 2006 12:06:18 -0700, 10.24.38.153
Path: solutions.advantagedatabase.com!solutions.advantagedatabase.com!10.24.38.153
Xref: solutions.advantagedatabase.com Advantage.Networking:649
Article PK: 1132068

Hi Paul,

wldap32.dll is an integral part of Microsoft's communications protocols and
Advantage doesn't have any control over if it will be loaded. Ordinal 319
is for the function ldap_create_vlv_control, which was introduced by
Microsoft in Windows XP. It appears that something is trying to load a
version of wldap32.dll for Windows XP not Windows 2000.

Your problem really isn't with wldap32.dll, it is a different DLL that is
trying to load a newer version of wldap32.dll than exists for Windows 2000.
I don't have any great suggestions besides using Process Explorer from
www.sysinternals.com to try and find out what is actually trying loading
this file. I am surprised that you are not having more troubles with this
computer since w32ldap on my computer is loaded on any process that is using
the network. I would start by checking your application to see if a DLL is
being loaded from the current directory that should instead be loaded from
the system32 directory.

Best Regards,

Lance Schmidt
Advantage R&D

"Paul Man" <paulman@datasoft.ie> wrote in message
news:4506d969@solutions.advantagedatabase.com...
> ARC32 works fine. I've traced through our code and basically the wldap32
> error occurs when I call my adsconnection1.connected := true.
> If the connection is set to local instead of remote then it is ok.
> Is there some mechanism for refining the remote connection to try
> different protocols to avoid the wldap32 problem. It seems the only way
> to update the wldap32 dll is to start up the machine with the win2k repair
> process and manually copy an updated file.
>
> "Mark Wilkins" <mark@no.email> wrote in message
> news:4506c5ef@solutions.advantagedatabase.com...
>> Hi Paul,
>>
>> I'm fairly sure that none of our libraries link in wldap32.dell
>> (lightweight directory access protocol). We don't use any of that
>> functionality directly. Can you test a remote connection using Advantage
>> Data Architect on one of those Win2000 machines?
>>
>> Mark Wilkins
>> Advantage R&D
>>
>>
>> "Paul Man" <paulman@datasoft.ie> wrote in message
>> news:4506a63d@solutions.advantagedatabase.com...
>>> We get this error when running our software on some windows 2000
>>> machines. What makes me think that it is linked to advantage is that if
>>> we change the ADS server connection to local instead of remote ( to a
>>> remote machine) then we don't get the error message.
>>>
>>> this is ok on XP and I'm sure it has to do with the version of the
>>> wldap32.dll. the problem is we are unable to update this file. What's
>>> the connecitno with ADS for wldap anyway or is there another solution?
>>>
>>>
>>
>>
>
>


Paul Man Posted on 2006-09-13 09:02:21.0Z
From: "Paul Man" <paulman@datasoft.ie>
Newsgroups: advantage.networking
References: <4506a63d@solutions.advantagedatabase.com> <4506c5ef@solutions.advantagedatabase.com> <4506d969@solutions.advantagedatabase.com>
Subject: Re: ordinal 319 missing in wldap32.dll
Date: Wed, 13 Sep 2006 10:02:21 +0100
Lines: 44
Organization: DSoft
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2869
X-RFC2646: Format=Flowed; Response
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2962
NNTP-Posting-Host: 82.141.233.142
Message-ID: <4507c836@solutions.advantagedatabase.com>
X-Trace: 13 Sep 2006 02:58:30 -0700, 82.141.233.142
Path: solutions.advantagedatabase.com!solutions.advantagedatabase.com!82.141.233.142
Xref: solutions.advantagedatabase.com Advantage.Networking:650
Article PK: 1132069

Thanks for your suggestions lads - I'll try them out. I'm setting up a
VMWare W2k machine to try emulate the problem here.

"Paul Man" <paulman@datasoft.ie> wrote in message
news:4506d969@solutions.advantagedatabase.com...
> ARC32 works fine. I've traced through our code and basically the wldap32
> error occurs when I call my adsconnection1.connected := true.
> If the connection is set to local instead of remote then it is ok.
> Is there some mechanism for refining the remote connection to try
> different protocols to avoid the wldap32 problem. It seems the only way
> to update the wldap32 dll is to start up the machine with the win2k repair
> process and manually copy an updated file.
>
> "Mark Wilkins" <mark@no.email> wrote in message
> news:4506c5ef@solutions.advantagedatabase.com...
>> Hi Paul,
>>
>> I'm fairly sure that none of our libraries link in wldap32.dell
>> (lightweight directory access protocol). We don't use any of that
>> functionality directly. Can you test a remote connection using Advantage
>> Data Architect on one of those Win2000 machines?
>>
>> Mark Wilkins
>> Advantage R&D
>>
>>
>> "Paul Man" <paulman@datasoft.ie> wrote in message
>> news:4506a63d@solutions.advantagedatabase.com...
>>> We get this error when running our software on some windows 2000
>>> machines. What makes me think that it is linked to advantage is that if
>>> we change the ADS server connection to local instead of remote ( to a
>>> remote machine) then we don't get the error message.
>>>
>>> this is ok on XP and I'm sure it has to do with the version of the
>>> wldap32.dll. the problem is we are unable to update this file. What's
>>> the connecitno with ADS for wldap anyway or is there another solution?
>>>
>>>
>>
>>
>
>


Paul Man Posted on 2006-09-13 13:54:38.0Z
From: "Paul Man" <paulman@datasoft.ie>
Newsgroups: advantage.networking
References: <4506a63d@solutions.advantagedatabase.com> <4506c5ef@solutions.advantagedatabase.com> <4506d969@solutions.advantagedatabase.com>
Subject: Re: ordinal 319 missing in wldap32.dll
Date: Wed, 13 Sep 2006 14:54:38 +0100
Lines: 50
Organization: DSoft
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2869
X-RFC2646: Format=Flowed; Response
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2962
NNTP-Posting-Host: 82.141.233.142
Message-ID: <45080cbd@solutions.advantagedatabase.com>
X-Trace: 13 Sep 2006 07:50:53 -0700, 82.141.233.142
Path: solutions.advantagedatabase.com!solutions.advantagedatabase.com!82.141.233.142
Xref: solutions.advantagedatabase.com Advantage.Networking:651
Article PK: 1132071

No joy. the process list just shows a dependency but does not indicate by
what. Pointing to the ip address also has no bearing.

The Error occurs in tAdsconnection.GetAdsConnection (adscnnct.pas Line 892)
with two subsequent calls to AdsConnect60, then adsSetLAstError and finally
ACECheck L1545).

If the database is set as local then there is no problem whatsoever.

"Paul Man" <paulman@datasoft.ie> wrote in message
news:4506d969@solutions.advantagedatabase.com...
> ARC32 works fine. I've traced through our code and basically the wldap32
> error occurs when I call my adsconnection1.connected := true.
> If the connection is set to local instead of remote then it is ok.
> Is there some mechanism for refining the remote connection to try
> different protocols to avoid the wldap32 problem. It seems the only way
> to update the wldap32 dll is to start up the machine with the win2k repair
> process and manually copy an updated file.
>
> "Mark Wilkins" <mark@no.email> wrote in message
> news:4506c5ef@solutions.advantagedatabase.com...
>> Hi Paul,
>>
>> I'm fairly sure that none of our libraries link in wldap32.dell
>> (lightweight directory access protocol). We don't use any of that
>> functionality directly. Can you test a remote connection using Advantage
>> Data Architect on one of those Win2000 machines?
>>
>> Mark Wilkins
>> Advantage R&D
>>
>>
>> "Paul Man" <paulman@datasoft.ie> wrote in message
>> news:4506a63d@solutions.advantagedatabase.com...
>>> We get this error when running our software on some windows 2000
>>> machines. What makes me think that it is linked to advantage is that if
>>> we change the ADS server connection to local instead of remote ( to a
>>> remote machine) then we don't get the error message.
>>>
>>> this is ok on XP and I'm sure it has to do with the version of the
>>> wldap32.dll. the problem is we are unable to update this file. What's
>>> the connecitno with ADS for wldap anyway or is there another solution?
>>>
>>>
>>
>>
>
>


Lance Schmidt Posted on 2006-09-13 16:38:44.0Z
From: "Lance Schmidt" <LanceSc@ExtendSys.com>
Newsgroups: advantage.networking
References: <4506a63d@solutions.advantagedatabase.com> <4506c5ef@solutions.advantagedatabase.com> <4506d969@solutions.advantagedatabase.com> <45080cbd@solutions.advantagedatabase.com>
Subject: Re: ordinal 319 missing in wldap32.dll
Date: Wed, 13 Sep 2006 10:38:44 -0600
Lines: 74
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2869
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2962
X-RFC2646: Format=Flowed; Response
NNTP-Posting-Host: 10.24.38.153
Message-ID: <45083328@solutions.advantagedatabase.com>
X-Trace: 13 Sep 2006 10:34:48 -0700, 10.24.38.153
Path: solutions.advantagedatabase.com!solutions.advantagedatabase.com!10.24.38.153
Xref: solutions.advantagedatabase.com Advantage.Networking:652
Article PK: 1132070

Hi Paul,

Using dumpbin which is a part of Microsoft Visual Studio I was able to
generate the following list of files that use ordinal 319 of wldap32.dll in
Windows XP.

adsldp.dll
adsldpc.dll

Both of these files are created by Microsoft and most likely one of them is
causing the problem for you. If you have dumpbin you can use the following
command to generate a list of all the imports for all DLLs in a directory.

for %%f in (*.dll) do dumpbin /IMPORTS %%f >> c:\test\lance.out

Best Regards,

Lance Schmidt
Advantage R&D

"Paul Man" <paulman@datasoft.ie> wrote in message
news:45080cbd@solutions.advantagedatabase.com...
> No joy. the process list just shows a dependency but does not indicate by
> what. Pointing to the ip address also has no bearing.
>
> The Error occurs in tAdsconnection.GetAdsConnection (adscnnct.pas Line
> 892) with two subsequent calls to AdsConnect60, then adsSetLAstError and
> finally ACECheck L1545).
>
> If the database is set as local then there is no problem whatsoever.
>
> "Paul Man" <paulman@datasoft.ie> wrote in message
> news:4506d969@solutions.advantagedatabase.com...
>> ARC32 works fine. I've traced through our code and basically the wldap32
>> error occurs when I call my adsconnection1.connected := true.
>> If the connection is set to local instead of remote then it is ok.
>> Is there some mechanism for refining the remote connection to try
>> different protocols to avoid the wldap32 problem. It seems the only way
>> to update the wldap32 dll is to start up the machine with the win2k
>> repair process and manually copy an updated file.
>>
>> "Mark Wilkins" <mark@no.email> wrote in message
>> news:4506c5ef@solutions.advantagedatabase.com...
>>> Hi Paul,
>>>
>>> I'm fairly sure that none of our libraries link in wldap32.dell
>>> (lightweight directory access protocol). We don't use any of that
>>> functionality directly. Can you test a remote connection using
>>> Advantage Data Architect on one of those Win2000 machines?
>>>
>>> Mark Wilkins
>>> Advantage R&D
>>>
>>>
>>> "Paul Man" <paulman@datasoft.ie> wrote in message
>>> news:4506a63d@solutions.advantagedatabase.com...
>>>> We get this error when running our software on some windows 2000
>>>> machines. What makes me think that it is linked to advantage is that if
>>>> we change the ADS server connection to local instead of remote ( to a
>>>> remote machine) then we don't get the error message.
>>>>
>>>> this is ok on XP and I'm sure it has to do with the version of the
>>>> wldap32.dll. the problem is we are unable to update this file. What's
>>>> the connecitno with ADS for wldap anyway or is there another solution?
>>>>
>>>>
>>>
>>>
>>
>>
>
>


Paul Man Posted on 2006-09-14 08:37:49.0Z
From: "Paul Man" <paulman@datasoft.ie>
Newsgroups: advantage.networking
References: <4506a63d@solutions.advantagedatabase.com> <4506c5ef@solutions.advantagedatabase.com> <4506d969@solutions.advantagedatabase.com> <45080cbd@solutions.advantagedatabase.com> <45083328@solutions.advantagedatabase.com>
Subject: Re: ordinal 319 missing in wldap32.dll
Date: Thu, 14 Sep 2006 09:37:49 +0100
Lines: 91
Organization: DSoft
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2869
X-RFC2646: Format=Flowed; Response
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2962
NNTP-Posting-Host: 82.141.233.142
Message-ID: <450913f0@solutions.advantagedatabase.com>
X-Trace: 14 Sep 2006 02:33:52 -0700, 82.141.233.142
Path: solutions.advantagedatabase.com!solutions.advantagedatabase.com!82.141.233.142
Xref: solutions.advantagedatabase.com Advantage.Networking:653
Article PK: 1132073

Well done Lance you've solved a mystery that I was sure would take days to
figure out. What happened was that adsldp.dll and adsldpc.dll got copied
in with the normal advantage ADS* dlls in our XP machine and then sent out
with releases. Hence the win2k machines were loading these versions when
the database was opened.

Can't really thank you enough.

Paul

"Lance Schmidt" <LanceSc@ExtendSys.com> wrote in message
news:45083328@solutions.advantagedatabase.com...
> Hi Paul,
>
> Using dumpbin which is a part of Microsoft Visual Studio I was able to
> generate the following list of files that use ordinal 319 of wldap32.dll
> in Windows XP.
>
> adsldp.dll
> adsldpc.dll
>
> Both of these files are created by Microsoft and most likely one of them
> is causing the problem for you. If you have dumpbin you can use the
> following command to generate a list of all the imports for all DLLs in a
> directory.
>
> for %%f in (*.dll) do dumpbin /IMPORTS %%f >> c:\test\lance.out
>
> Best Regards,
>
> Lance Schmidt
> Advantage R&D
>
> "Paul Man" <paulman@datasoft.ie> wrote in message
> news:45080cbd@solutions.advantagedatabase.com...
>> No joy. the process list just shows a dependency but does not indicate
>> by what. Pointing to the ip address also has no bearing.
>>
>> The Error occurs in tAdsconnection.GetAdsConnection (adscnnct.pas Line
>> 892) with two subsequent calls to AdsConnect60, then adsSetLAstError and
>> finally ACECheck L1545).
>>
>> If the database is set as local then there is no problem whatsoever.
>>
>> "Paul Man" <paulman@datasoft.ie> wrote in message
>> news:4506d969@solutions.advantagedatabase.com...
>>> ARC32 works fine. I've traced through our code and basically the
>>> wldap32 error occurs when I call my adsconnection1.connected := true.
>>> If the connection is set to local instead of remote then it is ok.
>>> Is there some mechanism for refining the remote connection to try
>>> different protocols to avoid the wldap32 problem. It seems the only way
>>> to update the wldap32 dll is to start up the machine with the win2k
>>> repair process and manually copy an updated file.
>>>
>>> "Mark Wilkins" <mark@no.email> wrote in message
>>> news:4506c5ef@solutions.advantagedatabase.com...
>>>> Hi Paul,
>>>>
>>>> I'm fairly sure that none of our libraries link in wldap32.dell
>>>> (lightweight directory access protocol). We don't use any of that
>>>> functionality directly. Can you test a remote connection using
>>>> Advantage Data Architect on one of those Win2000 machines?
>>>>
>>>> Mark Wilkins
>>>> Advantage R&D
>>>>
>>>>
>>>> "Paul Man" <paulman@datasoft.ie> wrote in message
>>>> news:4506a63d@solutions.advantagedatabase.com...
>>>>> We get this error when running our software on some windows 2000
>>>>> machines. What makes me think that it is linked to advantage is that
>>>>> if we change the ADS server connection to local instead of remote ( to
>>>>> a remote machine) then we don't get the error message.
>>>>>
>>>>> this is ok on XP and I'm sure it has to do with the version of the
>>>>> wldap32.dll. the problem is we are unable to update this file.
>>>>> What's the connecitno with ADS for wldap anyway or is there another
>>>>> solution?
>>>>>
>>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>
>


Joachim Duerr (ADS Support) Posted on 2006-09-14 10:09:23.0Z
From: "Joachim Duerr (ADS Support)" <jojo.duerr@gmx.de>
Subject: Re: ordinal 319 missing in wldap32.dll
Newsgroups: Advantage.Networking
References: <4506a63d@solutions.advantagedatabase.com> <4506c5ef@solutions.advantagedatabase.com> <4506d969@solutions.advantagedatabase.com> <45080cbd@solutions.advantagedatabase.com> <45083328@solutions.advantagedatabase.com> <450913f0@solutions.advantagedatabase.com>
Organization: iAnywhere
User-Agent: XanaNews/1.18.1.2
X-Face: ,QMv7[luB)BpWAQ~:"kw6n%0ieY63.:g2K3n~8ky0;||5Xle*Xq+=~<Fy:0CVC2nx@8~vZ
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
NNTP-Posting-Host: 195.2.185.25
Message-ID: <45091c43@solutions.advantagedatabase.com>
Date: 14 Sep 2006 03:09:23 -0700
X-Trace: 14 Sep 2006 03:09:23 -0700, 195.2.185.25
Lines: 19
Path: solutions.advantagedatabase.com!solutions.advantagedatabase.com!195.2.185.25
Xref: solutions.advantagedatabase.com Advantage.Networking:654
Article PK: 1132072


Paul Man wrote in <450913f0@solutions.advantagedatabase.com>:

> Well done Lance you've solved a mystery that I was sure would take
> days to figure out. What happened was that adsldp.dll and
> adsldpc.dll got copied in with the normal advantage ADS* dlls in our
> XP machine and then sent out with releases. Hence the win2k machines
> were loading these versions when the database was opened.
>
> Can't really thank you enough.

the install folders of ADS contain a redistribute subfolder. You can
just copy the files from there and you have all you need (and not
more...).

--
Joachim Duerr
Senior Product Support Analyst (Advantage Database Server)
iAnywhere Solutions / Extended Systems
advantage[AT]extendsys.de


Lance Schmidt Posted on 2006-09-14 15:17:05.0Z
From: "Lance Schmidt" <LanceSc@ExtendSys.com>
Newsgroups: advantage.networking
References: <4506a63d@solutions.advantagedatabase.com> <4506c5ef@solutions.advantagedatabase.com> <4506d969@solutions.advantagedatabase.com> <45080cbd@solutions.advantagedatabase.com> <45083328@solutions.advantagedatabase.com> <450913f0@solutions.advantagedatabase.com>
Subject: Re: ordinal 319 missing in wldap32.dll
Date: Thu, 14 Sep 2006 09:17:05 -0600
Lines: 105
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2869
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2962
X-RFC2646: Format=Flowed; Response
NNTP-Posting-Host: 10.24.38.153
Message-ID: <45097185@solutions.advantagedatabase.com>
X-Trace: 14 Sep 2006 09:13:09 -0700, 10.24.38.153
Path: solutions.advantagedatabase.com!solutions.advantagedatabase.com!10.24.38.153
Xref: solutions.advantagedatabase.com Advantage.Networking:655
Article PK: 1132074

Hi Paul,

Glad to hear you were able to find the solution to this problem and get out
of DLL Hell.

Best Regards,

Lance Schmidt
Advantage R&D

"Paul Man" <paulman@datasoft.ie> wrote in message
news:450913f0@solutions.advantagedatabase.com...
> Well done Lance you've solved a mystery that I was sure would take days to
> figure out. What happened was that adsldp.dll and adsldpc.dll got
> copied in with the normal advantage ADS* dlls in our XP machine and then
> sent out with releases. Hence the win2k machines were loading these
> versions when the database was opened.
>
> Can't really thank you enough.
>
> Paul
>
>
> "Lance Schmidt" <LanceSc@ExtendSys.com> wrote in message
> news:45083328@solutions.advantagedatabase.com...
>> Hi Paul,
>>
>> Using dumpbin which is a part of Microsoft Visual Studio I was able to
>> generate the following list of files that use ordinal 319 of wldap32.dll
>> in Windows XP.
>>
>> adsldp.dll
>> adsldpc.dll
>>
>> Both of these files are created by Microsoft and most likely one of them
>> is causing the problem for you. If you have dumpbin you can use the
>> following command to generate a list of all the imports for all DLLs in a
>> directory.
>>
>> for %%f in (*.dll) do dumpbin /IMPORTS %%f >> c:\test\lance.out
>>
>> Best Regards,
>>
>> Lance Schmidt
>> Advantage R&D
>>
>> "Paul Man" <paulman@datasoft.ie> wrote in message
>> news:45080cbd@solutions.advantagedatabase.com...
>>> No joy. the process list just shows a dependency but does not indicate
>>> by what. Pointing to the ip address also has no bearing.
>>>
>>> The Error occurs in tAdsconnection.GetAdsConnection (adscnnct.pas Line
>>> 892) with two subsequent calls to AdsConnect60, then adsSetLAstError and
>>> finally ACECheck L1545).
>>>
>>> If the database is set as local then there is no problem whatsoever.
>>>
>>> "Paul Man" <paulman@datasoft.ie> wrote in message
>>> news:4506d969@solutions.advantagedatabase.com...
>>>> ARC32 works fine. I've traced through our code and basically the
>>>> wldap32 error occurs when I call my adsconnection1.connected := true.
>>>> If the connection is set to local instead of remote then it is ok.
>>>> Is there some mechanism for refining the remote connection to try
>>>> different protocols to avoid the wldap32 problem. It seems the only
>>>> way to update the wldap32 dll is to start up the machine with the win2k
>>>> repair process and manually copy an updated file.
>>>>
>>>> "Mark Wilkins" <mark@no.email> wrote in message
>>>> news:4506c5ef@solutions.advantagedatabase.com...
>>>>> Hi Paul,
>>>>>
>>>>> I'm fairly sure that none of our libraries link in wldap32.dell
>>>>> (lightweight directory access protocol). We don't use any of that
>>>>> functionality directly. Can you test a remote connection using
>>>>> Advantage Data Architect on one of those Win2000 machines?
>>>>>
>>>>> Mark Wilkins
>>>>> Advantage R&D
>>>>>
>>>>>
>>>>> "Paul Man" <paulman@datasoft.ie> wrote in message
>>>>> news:4506a63d@solutions.advantagedatabase.com...
>>>>>> We get this error when running our software on some windows 2000
>>>>>> machines. What makes me think that it is linked to advantage is that
>>>>>> if we change the ADS server connection to local instead of remote (
>>>>>> to a remote machine) then we don't get the error message.
>>>>>>
>>>>>> this is ok on XP and I'm sure it has to do with the version of the
>>>>>> wldap32.dll. the problem is we are unable to update this file.
>>>>>> What's the connecitno with ADS for wldap anyway or is there another
>>>>>> solution?
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>
>