Microsoft KB Archive/811189

= Registry keys are missing from the COM base component =

Article ID: 811189

Article Last Modified on 6/24/2004

-

APPLIES TO


 * Microsoft Windows XP Embedded

-





SYMPTOMS
When you run a Microsoft Visual Basic client in a Windows XP Embedded image, the Err.Description property might have a value of METHOD &quot;~&quot; OF OBJECT &quot;~&quot; FAILED.

This occurs after an unsuccessful call to an out-of-process Component Object Model (COM) server that supports extended error information.



CAUSE
This problem occurs because the COM Base component is missing some registry entries for the proxy/stub class of the ISupportErrorInfo interface.



RESOLUTION
To resolve this problem, insert the following registry keys in your configuration: [HKEY_CLASSES_ROOT\CLSID\{DF0B3D60-548F-101B-8E65-08002B2BD119}] @=&quot;PSSupportErrorInfo&quot; [HKEY_CLASSES_ROOT\CLSID\{DF0B3D60-548F-101B-8E65-08002B2BD119}\InprocServer] @=&quot;ole2disp.dll&quot; [HKEY_CLASSES_ROOT\CLSID\{DF0B3D60-548F-101B-8E65-08002B2BD119}\InprocServer32] @=&quot;oleaut32.dll&quot; One approach is to add extra registry resources to your configuration in Target Designer.

Another approach is to use Component Designer to create a helper component that contains these registry entries, import this helper component into the component database, and then use this helper component in your configurations.



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



MORE INFORMATION
The COM Base component contains basic resources for the Component Object Model (COM). The COM is a software architecture that allows platform-independent and programming language-independent components to interact.

For more information about the insertion of extra resources into an existing configuration in Target Designer, see the &quot;Target Designer Guide&quot; for the topic &quot;Adding Registry Data to a Configuration&quot;.

