An Access Violation Occurs When a Program Tries to Update Active Directory

This article was previously published under Q328567
This article has been archived. It is offered "as is" and will no longer be updated.
An access violation may occur when a program or a service tries to update information in Active Directory.
This problem occurs if the Lightweight Directory Access Protocol (LDAP) provider DLL enumerates properties incorrectly and processes property cache information that is not valid.

Service Pack Information

To resolve this problem, obtain the latest service pack for Microsoft Windows 2000. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:
260910 How to Obtain the Latest Windows 2000 Service Pack

Hotfix Information

A supported hotfix is available from Microsoft. However, this hotfix is intended to correct only the problem that is described in this article. Apply this hotfix only to systems that are experiencing this specific problem.

If the hotfix is available for download, there is a "Hotfix download available" section at the top of this Knowledge Base article. If this section does not appear, submit a request to Microsoft Customer Service and Support to obtain the hotfix.

Note If additional issues occur or if any troubleshooting is required, you might have to create a separate service request. The usual support costs will apply to additional support questions and issues that do not qualify for this specific hotfix. For a complete list of Microsoft Customer Service and Support telephone numbers or to create a separate service request, visit the following Microsoft Web site: Note The "Hotfix download available" form displays the languages for which the hotfix is available. If you do not see your language, it is because a hotfix is not available for that language.The English version of this fix has the file attributes (or later) that are listed in the following table. The dates and times for these files are listed in coordinated universal time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time tool in Control Panel.
   Date         Time   Version          Size       File name   ------------------------------------------------------------------------   24-Sep-2002  11:37  5.0.2195.6069    124,176   Adsldp.dll   24-Sep-2002  11:37  5.0.2195.5781    131,344   Adsldpc.dll   24-Sep-2002  11:37  5.0.2195.5781     62,736   Adsmsext.dll   24-Sep-2002  11:37  5.0.2195.6052    358,160   Advapi32.dll   24-Sep-2002  11:37  5.0.2195.6058     49,424   Browser.dll   24-Sep-2002  11:37  5.0.2195.6012    135,952   Dnsapi.dll   24-Sep-2002  11:37  5.0.2195.6012     96,016   Dnsrslvr.dll   24-Sep-2002  11:37  5.0.2195.5722     45,328   Eventlog.dll   24-Sep-2002  11:37  5.0.2195.6059    146,704   Kdcsvc.dll   05-Sep-2002  14:18  5.0.2195.6048    200,976   Kerberos.dll   21-Aug-2002  05:27  5.0.2195.6023     71,248   Ksecdd.sys   22-Jul-2002  12:54  5.0.2195.5960    507,152   Lsasrv.dll   22-Jul-2002  12:54  5.0.2195.5960     33,552   Lsass.exe   27-Aug-2002  11:53  5.0.2195.6034    108,816   Msv1_0.dll   24-Sep-2002  11:37  5.0.2195.5979    307,472   Netapi32.dll   24-Sep-2002  11:37  5.0.2195.5966    360,720   Netlogon.dll   24-Sep-2002  11:37  5.0.2195.6048    918,800   Ntdsa.dll   24-Sep-2002  11:37  5.0.2195.6025    389,392   Samsrv.dll   24-Sep-2002  11:37  5.0.2195.5951    129,296   Scecli.dll   24-Sep-2002  11:37  5.0.2195.5951    302,864   Scesrv.dll   24-Sep-2002  11:37  5.0.2195.5859     48,912   W32time.dll   04-Jun-2002  10:32  5.0.2195.5859     57,104   W32tm.exe   24-Sep-2002  11:37  5.0.2195.6052    126,224   Wldap32.dll				

Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article. This problem was first corrected in Microsoft Windows 2000 Service Pack 4.
The access violation (0xC0000005) that is described in this article is caused by the Adsldp.dll component.
ChildEBP RetAddr
076cf910 74d9ef7d msvcrt!_wcsicmp+0x6f
076cf928 74d9f553 adsldp!CPropertyCache::findproperty+0x1e
076cf958 74d9f873 adsldp!CPropertyCache::unmarshallproperty+0x5a
076cfdd8 74da0f17 adsldp!CPropertyCache::LDAPUnMarshallProperties2+0x129
076cfe38 74da0d93 adsldp!CLDAPGenObject::GetInfo+0x14f
076cfe44 76aeaea6 adsldp!CLDAPGenObject::GetInfo+0x17
076cfe6c 76aea928 LOCALSPL!GetGUID+0x15
076cfea8 76ae6a86 LOCALSPL!GetPrintQueueContainer+0x9c
076cfeec 76ae667f LOCALSPL!DsPrinterUnpublish+0x57
076cff28 76ae9eab LOCALSPL!SetPrinterDs+0xeb
076cff58 76ad7222 LOCALSPL!DsUpdatePrinter+0x16e
076cff6c 76ae9f1a LOCALSPL!RunForEachPrinter+0x2c
076cff7c 76ad71d0 LOCALSPL!DsUpdateSpooler+0x19
076cff90 76aea00c LOCALSPL!RunForEachSpooler+0x21
076cffb4 77e8758a LOCALSPL!DsUpdate+0xec
076cffec 00000000 kernel32!BaseThreadStart+0x52
For additional information about how to obtain a hotfix for Windows 2000 Datacenter Server, click the article number below to view the article in the Microsoft Knowledge Base:
265173 The Datacenter Program and Windows 2000 Datacenter Server Product
spoolss av localspl

Article ID: 328567 - Last Review: 02/27/2014 21:14:59 - Revision: 3.7

  • Microsoft Windows 2000 Server SP1
  • Microsoft Windows 2000 Service Pack 3
  • Microsoft Windows 2000 Server SP2
  • Microsoft Windows 2000 Advanced Server SP1
  • Microsoft Windows 2000 Advanced Server SP2
  • Microsoft Windows 2000 Advanced Server SP3
  • Microsoft Windows 2000 Professional SP1
  • Microsoft Windows 2000 Professional SP2
  • Microsoft Windows 2000 Service Pack 3
  • kbnosurvey kbarchive kbautohotfix kbhotfixserver kbqfe kbwin2ksp4fix kbdirservices kbbug kbfix kbqfe kbwin2000presp4fix KB328567