CoCreateInstance Fails on COM+ Object with Object Construction Enabled and No Constructor String Present (239879)
The information in this article applies to:
- Microsoft Windows 2000 Server
- Microsoft Windows 2000 Advanced Server
- Microsoft Windows 2000 Professional
This article was previously published under Q239879 SYMPTOMS
Create a component that implements IObjectConstruct::Construct. Configure the component as a COM+ application and enable the object construction property, but do not provide a constructor string.
Attempting to instantiate the COM+ object results in the following error:
Error 8004e025
Automation Error
COM+ Activation function failed because an initialization function failed.
WORKAROUND
The workaround for this problem is to enter a dummy string or just spaces in the Constructor String field.
Modification Type: | Major | Last Reviewed: | 11/20/2003 |
---|
Keywords: | kbprb kbSysAdmin KB239879 |
---|
|