Microsoft KB Archive/873444

= &quot;ERROR_INVALID_DATA&quot; error message when you run an ADSI script in Windows 2000 =

Article ID: 873444

Article Last Modified on 10/26/2006

-

APPLIES TO


 * Microsoft Windows 2000 Server
 * Microsoft Windows 2000 Professional Edition
 * Microsoft Windows 2000 Advanced Server

-





SYMPTOMS
When you try to run an Active Directory Service Interfaces (ADSI) script in Microsoft Windows 2000, the script may not run successfully. Additionally, you receive the following error message in this scenario:

ERROR_INVALID_DATA.



CAUSE
This problem may occur when the GetNextRow function returns &quot;ERROR_INVALID_DATA&quot; instead of &quot;Error_Success/S_OK.&quot;

The GetNextRow function returns ERROR_INVALID_DATA if the following conditions are true:
 * The result set is more than the maximum number of rows to be returned in a page.
 * The page is specified by the ADS_SEARCHPREF_PAGESIZE search preference.



Hotfix information
A supported hotfix is now available from Microsoft, but it is only intended to correct the problem that this article describes. Apply it only to systems that are experiencing this specific problem.

To resolve this problem, contact Microsoft Product Support Services to obtain the hotfix. For a complete list of Microsoft Product Support Services telephone numbers and information about support costs, visit the following Microsoft Web site:

http://support.microsoft.com/contactus/?ws=support

Note In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The usual support costs will apply to additional support questions and issues that do not qualify for the specific update in question.

Prerequisites
Windows 2000 Service Pack 3 or Windows 2000 Service Pack 4.

Restart requirement
You must restart your computer after you apply this hotfix.

Hotfix replacement information
This hotfix does not replace any other hotfixes.

File information
The English version of this hotfix 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 03-Aug-2004 15:39  5.0.2195.6920     126,736  Adsldp.dll 03-Aug-2004 15:39  5.0.2195.6963     132,880  Adsldpc.dll 19-Jun-2003 11:05  5.0.2195.6667      62,736  Adsmsext.dll 23-Mar-2004 17:17  5.0.2195.6876     388,368  Advapi32.dll 23-Mar-2004 17:17  5.0.2195.6866      69,904  Browser.dll 23-Mar-2004 17:17  5.0.2195.6824     134,928  Dnsapi.dll 23-Mar-2004 17:17  5.0.2195.6876      92,432  Dnsrslvr.dll 23-Mar-2004 17:17  5.0.2195.6883      47,888  Eventlog.dll 23-Mar-2004 17:17  5.0.2195.6890     143,632  Kdcsvc.dll 10-Mar-2004 17:37  5.0.2195.6903     210,192  Kerberos.dll 20-Sep-2003 15:32  5.0.2195.6824      71,888  Ksecdd.sys 10-Mar-2004 17:37  5.0.2195.6902     520,976  Lsasrv.dll 25-Feb-2004 14:59  5.0.2195.6902      33,552  Lsass.exe 19-Jun-2003 11:05  5.0.2195.6680     117,520  Msv1_0.dll 23-Mar-2004 17:17  5.0.2195.6897     312,592  Netapi32.dll 19-Jun-2003 11:05  5.0.2195.6695     371,984  Netlogon.dll 23-Mar-2004 17:17  5.0.2195.6896   1,028,880  Ntdsa.dll 23-Mar-2004 17:17  5.0.2195.6897     388,368  Samsrv.dll 23-Mar-2004 17:17  5.0.2195.6893     111,376  Scecli.dll 23-Mar-2004 17:17  5.0.2195.6903     253,200  Scesrv.dll 04-Jun-2004 14:13  5.0.2195.6935   5,887,488  Sp3res.dll 23-Mar-2004 17:17  5.0.2195.6824      50,960  W32time.dll 20-Sep-2003 15:32  5.0.2195.6824      57,104  W32tm.exe 19-Jun-2003 11:05  5.0.2195.6666     162,064  Wldap32.dll



STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the &quot;Applies to&quot; section.



MORE INFORMATION
For additional information about how hotfix packages are named, click the following article number to view the article in the Microsoft Knowledge Base:

816915 New file naming schema for Microsoft Windows software update packages

For additional information, click the following article number to view the article in the Microsoft Knowledge Base:

824684 Description of the standard terminology that is used to describe Microsoft software updates

Keywords: kbbug kbfix kbwin2000presp5fix kbhotfixserver kbqfe KB873444

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.