Cannot Install Application Proxy with a Visual Basic Class That Is Marked PublicNonCreatable (314525)
The information in this article applies to:
- Microsoft COM+ 1.0, when used with:
- the operating system: Microsoft Windows 2000
This article was previously published under Q314525 SYMPTOMS
If you try to install an application proxy with a Microsoft Visual Basic class that is marked as PublicNonCreatable on a Windows 2000-based computer, the application proxy fails to install. You receive the following error message:
Error registering COM+ application
CAUSE
Microsoft COM+ Hotfix Rollup Package 13 introduces a fix in which the COM+ component registrar ignores classes in the type library that are marked as PublicNonCreatable. This hotfix causes an application proxy installation to fail under the following circumstances:
- You export an application proxy from a computer that does not have COM+ Hotfix Rollup Package 13 or later installed.
-and-
- You try to install this application proxy on a computer that has COM+ Hotfix Rollup Package 13 or later installed.
RESOLUTION
To resolve this problem, obtain Microsoft COM+ Hotfix Rollup 19.
For additional information, click the article number below
to view the article in the Microsoft Knowledge Base:
318105 INFO: Availability of Windows 2000 Post-Service Pack 2 COM+ Hotfix Rollup Package 19
To resolve this problem, obtain the latest service pack for Windows 2000. For additional information, click the following article number to view the article in the
Microsoft Knowledge Base:
260910 How to Obtain the Latest Windows 2000 Service Pack
WORKAROUND
To work around this problem, use one of the following methods. NOTE: This problem is not fixed in Microsoft Windows XP. If you need a fix for Windows XP, and if these workarounds do not work for you, please contact Microsoft Technical Support.
Method 1- Compile your Visual Basic component with the PublicNonCreatable class marked as MultiUse.
- Reinstall the component into the COM+ application.
- Export the new application proxy.
- Install the new application proxy on the remote computer.
Method 2- Reinstall the component on a computer that has COM+ Hotfix Rollup Package 13 or later installed.
- Export the application proxy from this computer.
- Install the new application proxy on the remote computer.
STATUSMicrosoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article. This problem was first corrected in Windows 2000 Service Pack 3.
Modification Type: | Major | Last Reviewed: | 6/5/2003 |
---|
Keywords: | kbbug kbfix kbWin2000PreSP3Fix kbWin2000sp3fix KB314525 |
---|
|