Microsoft KB Archive/280738

= FIX: Error Code RPC_X_BAD_STUB_DATA When You Marshal UDT to Automation Server =

Article ID: 280738

Article Last Modified on 9/23/2005

-

APPLIES TO

 Microsoft COM+ 1.0, when used with:  Microsoft Windows 2000 Standard Edition

 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 (&quot;The stub received bad data&quot;). 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.



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:

http://support.microsoft.com/default.aspx?scid=fh;EN-US;CNTACTMS

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:

<pre class="fixed_text">  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.

<div class="status_section">

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

Additional query words: 1783

Keywords: kbhotfixserver kbqfe kbbug kbpending kbqfe kbwin2000sp3fix KB280738

-

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

© Microsoft Corporation. All rights reserved.