FIX: You cannot create objects on a remote COM+ partition by using the CreateObject method when the server name and the moniker are passed as parameters

Article translations Article translations
Article ID: 832584 - View products that this article applies to.
Expand all | Collapse all

SYMPTOMS

In Microsoft Windows Server 2003, you can use COM+ partitions to partition an application to run independently of other configurations of the application. Each configuration of the application is installed in a separate partition and can be separately managed. How you manage each configuration of an application depends on the specific needs of the application users. You can create an instance of an application that is hosted in these partitions by providing a COM+ partition moniker and a remote server name.

When you call the CreateObject method in Microsoft Visual Basic for Windows 6.0 Service Pack 5 or an earlier version, and you specify both a COM+ partition moniker and a remote server name, you receive the following error message:
Run-time error '463': Class not registered on local machine
Note The following syntax is used to call the CreateObject method to reproduce this problem:
'CreateObject("partition:{guid}/new:ProgID","servername")
Set p = CreateObject("partition:{8A9B9DB1-684B-426B-BE5E-65E13F97B23A}/new:Project1.CallMe", "REMOTESERVER")

CAUSE

Support for remote COM+ partitions is not implemented in the Microsoft Visual Basic runtime that is provided with Visual Basic for Windows 6.0 Service Pack 5 or an earlier version.

RESOLUTION

A supported hotfix is now available from Microsoft, but it is only intended to correct the problem that this article describes. Apply it only to systems that are experiencing this specific problem.

Note You must have a Visual Studio license agreement to obtain this hotfix.

To resolve this problem, contact Microsoft Product Support Services to obtain the hotfix. For a complete list of Microsoft Product Support Services telephone numbers and information about support costs, visit the following Microsoft Web site:
http://support.microsoft.com/contactus/?ws=support
Note In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The usual support costs will apply to additional support questions and issues that do not qualify for the specific update in question.

Prerequisites

No prerequisites are required.

Restart requirement

You do not have to restart your computer after you apply this hotfix.

Hotfix replacement information

This hotfix does not replace any other hotfixes.

File information

The 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 tool in Control Panel.
   Date         Time   Version     Size       File name
   -------------------------------------------------------
   29-Apr-2004  01:48  6.0.97.84   1,386,496  Msvbvm60.dll     
   29-Apr-2004  01:40  6.0.0.9784  1,697,552  Vba6.dll  

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

MORE INFORMATION

For additional information about COM+ application guidelines for Microsoft Visual Basic development, visit the following Microsoft Developer Network (MSDN) Web site:
http://msdn2.microsoft.com/en-us/library/ms809241.aspx
For additional information about the standard terminology that is used to describe Microsoft software updates, click the following article number to view the article in the Microsoft Knowledge Base:
824684 Description of the standard terminology that is used to describe Microsoft software updates

Properties

Article ID: 832584 - Last Review: February 12, 2007 - Revision: 2.5
APPLIES TO
  • Microsoft Visual Studio 6.0 Enterprise Edition
  • Microsoft Visual Basic 6.0 Learning Edition
  • Microsoft Visual Basic 6.0 Professional Edition
  • Microsoft Visual Basic 6.0 Enterprise Edition
Keywords: 
kbqfe kbpending kbbug kbfix KB832584

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com