PRB: Error When You Create a COMAdminCatalog Object on Windows 2000 (312599)
The information in this article applies to:
- Microsoft COM+ 1.0, when used with:
- the operating system: Microsoft Windows XP
- Microsoft COM+ 1.5, when used with:
- the operating system: Microsoft Windows XP
This article was previously published under Q312599 SYMPTOMS
When you bind to the COM+ 1.0 Admin Type Library on a computer that is running Microsoft Windows XP and you use early binding to create a COMAdminCatalog object, you may receive the following error message when you run the code on the computer that is running Microsoft Windows 2000.sage:
Runtime error 430:
Class does not support Automation or does not support expected interface.
CAUSE
This behavior can occur because the default interface for the COMAdminCatalog object was changed from ICOMAdminCatalog to ICOMAdminCatalog2 in Windows XP, and the early-bound client binds to the ICOMAdminCatalog2 interface. The ICOMAdminCatalog2 interface is not available on Windows 2000 and causes the error message referenced in the "Symptoms" section of this article.
RESOLUTION
To resolve this behavior, use late binding so that the default interface is used and the code runs on either platform.
STATUSThis behavior is by design.
Modification Type: | Major | Last Reviewed: | 2/8/2002 |
---|
Keywords: | kberrmsg kbprb KB312599 |
---|
|