One user out of 40 gets LDAP operations error

Tech-Archive recommends: Fix windows errors by optimizing your registry



Hi
I have an annoying error when using LDAP in Access VBA. My knowledge
of LDAP is not great, but I'll try to summerise it as best I can. We
use Windows XP SP2 on the clients and MS Access 2007, with Windows
2003 server.

For a few months my application has been working absolutely fine with
40 users, using the following line:

Set objGroup = GetObject _
("LDAP://cn=Stock Control, ou=company, dc=company-uk,dc=local")

Basically, I'm checking if the user is in the Stock Control security
group. However, due to a re-organisation of our security groups, I
needed to change it to the following:

Set objGroup = GetObject _
("LDAP://cn=Stock Control,ou=Security Groups,ou=Groups, ou=company,
dc=company-uk,dc=local")

The group structure in active directory is "company/Groups/Security
Groups".

This works fine for 39 users, but one user is getting the following
error:

Runtime error: -2147016672(80072020)
Automation Error
An operations error occured

This is really frustrating. He has been working fine for months. Any
idea why his machine alone would have a problem with this? It is an
older P/C than most in the office, but it's a Dell like all the rest,
and there are older Dells which work fine.

Thanks for any help

Colin

.