"Error 1783 (RPC_X_BAD_STUB_DATA)" Error Message When You Use the EnumDependentServices Function (822751)



The information in this article applies to:

  • Microsoft Windows Server 2003, Web Edition
  • Microsoft Windows Server 2003, Standard Edition
  • Microsoft Windows Server 2003, Enterprise Edition
  • Microsoft Windows Server 2003, 64-Bit Enterprise Edition
  • Microsoft Windows XP Professional
  • Microsoft Windows XP Home Edition
  • Microsoft Windows 2000 Server
  • Microsoft Windows 2000 Advanced Server
  • Microsoft Windows 2000 Professional



SYMPTOMS

When you create a custom program that uses the EnumDependentServices function to retrieve information about dependent services, the EnumDependentServices function may not work correctly. The EnumDependentServices function may return an incorrect buffer size, and you receive an error message that is similar to the following:
Error1783
(RPC_X_BAD_STUB_DATA).

CAUSE

This problem occurs if your program requires a buffer that is larger than 64 kilobytes (KB).

RESOLUTION

Hotfix Information

A supported hotfix is now available from Microsoft, but it is only intended to correct the problem that is described in this article. Only apply it to systems that are experiencing this specific problem. This hotfix may receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next Microsoft Windows Server 2003, Microsoft Windows XP, or Microsoft Windows 2000 service pack that contains this hotfix.

To resolve this problem immediately, 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: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

You must be running one of the following operating systems to install his hotfix:
  • Windows Server 2003
  • Windows 2000 Service Pack 4 (SP4)
  • Windows XP Service Pack 1 (SP1)

Restart Requirement

You have to 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.

Windows Server 2003

Date         Time   Version       Size    File name
------------------------------------------------------------
23-Jul-2003  19:28  5.2.3790.71  104,960  Services.exe
23-Jul-2003  18:11  5.2.3790.71  293,888  Services.exe  IA-64

Windows XP

Date         Time   Version         Size    File name
--------------------------------------------------------------
15-Aug-2003  04:49  5.1.2600.1260  100,352  Services.exe     
15-Aug-2003  04:50  5.1.2600.1260  331,264  Services.exe  IA-64

Windows 2000

Date         Time   Version         Size    File name
--------------------------------------------------------
15-Aug-2003  00:58  5.0.2195.6804   86,288  Services.exe

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.

MORE INFORMATION

For additional information about how to troubleshoot a related issue in Exchange Server 5.5, click the following article number to view the article in the Microsoft Knowledge Base:

821543 XADM: "Services List of Dependent Services Could Not Be Enumerated. -800FF336" Error Message When You Try to Use the Exchange Server Performance Optimizer



For more information about the EnumDependentServices function, visit the following Microsoft Web site:

Modification Type:MinorLast Reviewed:10/27/2005
Keywords:kbHotfixServer kbQFE kberrmsg kbBug kbfix kbQFE kbWinServ2003preSP1fix KB822751 kbAudITPRO