FIX: Error Code RPC_X_BAD_STUB_DATA When You Marshal UDT to Automation Server (280738)



The information in this article applies to:

  • Microsoft COM+ 1.0, when used with:
    • the operating system: Microsoft Windows 2000
    • the operating system: Microsoft Windows NT 4.0

This article was previously published under Q280738

SYMPTOMS

When you marshal a user-defined data type (UDT) to pass data to an automation server, you may encounter a failure with the error code RPC_X_BAD_STUB_DATA ("The stub received bad data"). This occurs more readily on multiprocessor computers that are running Windows NT under stress conditions.

CAUSE

This failure occurs because parts of the marshaling code are not synchronized.

RESOLUTION

Windows NT 4.0

A supported fix is now available from Microsoft, but it is only intended to correct the problem that is described in this article. Apply it only to computers that are experiencing this specific problem.

To resolve this problem, contact Microsoft Product Support Services to obtain the fix. For a complete list of Microsoft Product Support Services phone 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.

This fix should have the following file attributes or later:
   Date         Time   Version    Size     File name     Platform  Language
   ----------------------------------------------------------------------
   29-May-2001  14:23  2.40.4518  143,632  Asycfilt.dll  x86       CHS
   29-May-2001  14:23  2.40.4518  626,960  Oleaut32.dll  x86       CHS
   29-May-2001  14:23  5.0.4518   164,112  Olepro32.dll  x86       CHS
   29-May-2001  14:23               6,512  Asycfilt.dbg  x86       CHS
   29-May-2001  14:23              46,752  Oleaut32.dbg  x86       CHS
   29-May-2001  14:23              10,464  OlePro32.dbg  x86       CHS
   29-May-2001  14:23             156,672  Asycfilt.pdb  x86       CHS
   29-May-2001  14:23             467,968  Oleaut32.pdb  x86       CHS
   29-May-2001  14:23             205,824  Olepro32.pdb  x86       CHS
   29-May-2001  14:23  2.40.4518  143,632  Asycfilt.dll  x86       CHT
   29-May-2001  14:23  2.40.4518  626,960  Oleaut32.dll  x86       CHT
   29-May-2001  14:23  5.0.4518   164,112  Olepro32.dll  x86       CHT
   29-May-2001  14:23               6,512  Asycfilt.dbg  x86       CHT
   29-May-2001  14:23              46,752  Oleaut32.dbg  x86       CHT
   29-May-2001  14:23              10,464  OlePro32.dbg  x86       CHT
   29-May-2001  14:23             156,672  Asycfilt.pdb  x86       CHT
   29-May-2001  14:23             467,968  Oleaut32.pdb  x86       CHT
   29-May-2001  14:23             205,824  Olepro32.pdb  x86       CHT
   29-May-2001  14:23  2.40.4518  143,632  Asycfilt.dll  x86       DEU
   29-May-2001  14:23  2.40.4518  626,960  Oleaut32.dll  x86       DEU
   29-May-2001  14:23  5.0.4518   164,112  Olepro32.dll  x86       DEU
   29-May-2001  14:23               6,512  Asycfilt.dbg  x86       DEU
   29-May-2001  14:23              46,752  Oleaut32.dbg  x86       DEU
   29-May-2001  14:23              10,464  OlePro32.dbg  x86       DEU
   29-May-2001  14:23             156,672  Asycfilt.pdb  x86       DEU
   29-May-2001  14:23             467,968  Oleaut32.pdb  x86       DEU
   29-May-2001  14:23             205,824  Olepro32.pdb  x86       DEU
   29-May-2001  14:23  2.40.4518  143,632  Asycfilt.dll  x86       ENU
   29-May-2001  14:23  2.40.4518  626,960  Oleaut32.dll  x86       ENU
   29-May-2001  14:23  5.0.4518   164,112  Olepro32.dll  x86       ENU
   29-May-2001  14:23               6,512  Asycfilt.dbg  x86       ENU
   29-May-2001  14:23              46,752  Oleaut32.dbg  x86       ENU
   29-May-2001  14:23              10,464  OlePro32.dbg  x86       ENU
   29-May-2001  14:23             156,672  Asycfilt.pdb  x86       ENU
   29-May-2001  14:23             467,968  Oleaut32.pdb  x86       ENU
   29-May-2001  14:23             205,824  Olepro32.pdb  x86       ENU
   29-May-2001  14:23  2.40.4518  143,632  Asycfilt.dll  x86       JPN
   29-May-2001  14:23  2.40.4518  626,960  Oleaut32.dll  x86       JPN
   29-May-2001  14:23  5.0.4518   164,112  Olepro32.dll  x86       JPN
   29-May-2001  14:23               6,512  Asycfilt.dbg  x86       JPN
   29-May-2001  14:23              46,752  Oleaut32.dbg  x86       JPN
   29-May-2001  14:23              10,464  OlePro32.dbg  x86       JPN
   29-May-2001  14:23             156,672  Asycfilt.pdb  x86       JPN
   29-May-2001  14:23             467,968  Oleaut32.pdb  x86       JPN
   29-May-2001  14:23             205,824  Olepro32.pdb  x86       JPN
   29-May-2001  14:23  2.40.4518  143,632  Asycfilt.dll  x86       KOR
   29-May-2001  14:23  2.40.4518  626,960  Oleaut32.dll  x86       KOR
   29-May-2001  14:23  5.0.4518   164,112  Olepro32.dll  x86       KOR
   29-May-2001  14:23               6,512  Asycfilt.dbg  x86       KOR
   29-May-2001  14:23              46,752  Oleaut32.dbg  x86       KOR
   29-May-2001  14:23              10,464  OlePro32.dbg  x86       KOR
   29-May-2001  14:23             156,672  Asycfilt.pdb  x86       KOR
   29-May-2001  14:23             467,968  Oleaut32.pdb  x86       KOR
   29-May-2001  14:23             205,824  Olepro32.pdb  x86       KOR
				
NOTE: Due to file dependencies, this hotfix requires Microsoft Windows NT 4.0 Service Pack 6a. This hotfix only applies to Windows NT.

STATUS

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

Modification Type:MinorLast Reviewed:9/23/2005
Keywords:kbHotfixServer kbQFE kbbug kbpending kbQFE KB280738