Article ID: 975415 - Last Review: October 7, 2011 - Revision: 3.0 Error message when you pass a variant between a COM client and a COM server in Windows: "0x800706F7 (The stub received bad data)"
On This PageSYMPTOMSConsider the following scenarios on a computer that is running Windows 7, Windows Vista, Windows Server 2008 R2, or Windows Server 2008:
0x800706F7 (The stub
received bad data) CAUSEThis problem occurs because of an error in the Oleaut32.dll
file. Because of the error, you
cannot marshal
UDTs that are wrapped in a variant. RESOLUTIONHotfix informationA 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 the problem described in this article. This hotfix might receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next software update that contains this hotfix.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, contact 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: http://support.microsoft.com/contactus/?ws=support
(http://support.microsoft.com/contactus/?ws=support)
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.PrerequisitesYou must apply this hotfix on a computer that is running one of the following operating systems:
935791
(http://support.microsoft.com/kb/935791/
)
How to obtain the latest Windows Vista service pack
For more information about how to obtain a Windows Server 2008 service pack, click the following article number to view the article in the Microsoft Knowledge Base:
968849
(http://support.microsoft.com/kb/968849/
)
How to obtain the latest service pack for Windows Server 2008
Restart requirementYou must restart the computer after you apply this hotfix.Hotfix replacement informationThis hotfix does not replace any other hotfixes.File informationThe English version of this hotfix has the file attributes (or later file attributes) 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 item in Control Panel.Windows Vista and Windows Server 2008 file information notesImportant Windows Vista hotfixes and Windows Server 2008 hotfixes are included in the same packages. However, only "Windows Vista" is listed on the Hotfix Request page. To request the hotfix package that applies to one or both operating systems, select the hotfix that is listed under "Windows Vista" on the page. Always refer to the "Applies To" section in articles to determine the actual operating system that each hotfix applies to.
For all supported x86-based versions of Windows Server 2008 and of Windows VistaCollapse this table
For all supported x64-based versions of Windows Server 2008 and of Windows VistaCollapse this table
For all supported IA-64-based versions of Windows Server 2008Collapse this table
Windows 7 and Windows Server 2008 R2 file information notesImportant Windows 7 hotfixes and Windows Server 2008 R2 hotfixes are included in the same packages. However, hotfixes on the Hotfix Request page are listed under both operating systems. To request the hotfix package that applies to one or both operating systems, select the hotfix that is listed under "Windows 7/Windows Server 2008 R2" on the page. Always refer to the "Applies To" section in articles to determine the actual operating system that each hotfix applies to.
For all supported x86-based versions of Windows 7Collapse this table
For all supported x64-based versions of Windows 7 and of Windows Server 2008 R2Collapse this table
For all supported IA-64-based versions of Windows Server 2008 R2Collapse this table
STATUSMicrosoft
has confirmed that this is a problem in the Microsoft products that are listed
in the "Applies to" section. MORE INFORMATIONFor more information about marshaling
details,
visit the following Microsoft Developer Network (MSDN) Web site: http://msdn.microsoft.com/en-us/library/ms692621%28VS.85%29.aspx
(http://msdn.microsoft.com/en-us/library/ms692621%28VS.85%29.aspx)
For
more information about user-defined data types (UDTs), visit the following
MSDN Web sites: http://msdn.microsoft.com/en-us/library/ms221210.aspx
(http://msdn.microsoft.com/en-us/library/ms221210.aspx)
http://msdn.microsoft.com/en-us/library/ms221453.aspx
(http://msdn.microsoft.com/en-us/library/ms221453.aspx)
APPLIES TO
| Other Resources Other Support Sites
CommunityArticle Translations |






Windows Live
Facebook
Twitter
Linkedin
Digg it
Yahoo
Delicious
StumbleUpon
Yammer
Reddit
Technorati
FriendFeed
Email
Back to the top