You receive an "Error registering COM+ application" error message when you install an application proxy in COM+ 1.0 (873192)



The information in this article applies to:

  • Microsoft COM+ 1.5, when used with:
    • the operating system: Microsoft Windows Server 2003
    • the operating system: Microsoft Windows XP
  • Microsoft COM+ 1.0, when used with:
    • the operating system: Microsoft Windows 2000

SYMPTOMS

When you export an application proxy from Microsoft COM+ 1.5, and then you try to install the application proxy in COM+ 1.0, you receive the following error message:
Error registering COM+ Application. Contact your
support personnel for more information.
Note Microsoft Windows Server 2003 and Windows XP run COM+ 1.5, and Windows 2000 runs COM+ 1.0.

CAUSE

This problem occurs because the versions of COM+ do not match. The Save application in COM+ 1.0 format - some properties may be lost option on the Application Export Information page must be enabled if you want to export your application proxy for COM+ 1.0. If you try to export the application proxy without enabling this option, the application proxy is exported only for COM+ 1.5 for Windows XP or for Windows Server 2003. Therefore, you receive the error message when you install the application proxy on computers that run COM+ 1.0.

RESOLUTION

To resolve this problem, you must generate the Microsoft Windows Installer package (the .msi file) explicitly for COM+ 1.0 when you export the application proxy from COM+ 1.5. To do this, follow these steps:
  1. Click Start, click Run, type Installation drive:\WINDOWS\system32\Com\comexp.msc (where Installation drive is the disk drive where your operating system is installed), and then click OK.
  2. Expand Component Services, expand Computers, and then expand My Computer.
  3. Expand COM+ Applications, and then locate the COM+ application that you want to export.
  4. Right-click the COM+ application, and then click Export.
  5. On the Welcome to the COM+ Application Export Wizard page, click Next.
  6. On the Application Export Information page, type the complete path and the full name of the application that you want to create.
  7. Under Export as, click Application proxy - Install on other machines to enable access to this machine.
  8. Click to select the Save application in COM+ 1.0 format - some properties may be lost check box to export the application for COM+ 1.0.
  9. Click Next.
  10. Click Finish.

STATUS

This behavior is by design.

MORE INFORMATION

Steps to reproduce the problem

  1. Click Start, click Run, type Installation drive:\WINDOWS\system32\Com\comexp.msc (where Installation drive is the disk drive where your operating system is installed), and then click OK.
  2. Expand Component Services, expand Computers, and then expand My Computer.
  3. Expand COM+ Applications, and then locate the COM+ application that you want to export.
  4. Right-click the application, and then click Export.
  5. On the Welcome to the COM+ Application Export Wizard page, click Next.
  6. On the Application Export Information page, type the complete path and the full name of the application that you want to create.
  7. Under Export as, click Application proxy - Install on other machines to enable access to this machine.
  8. Click Next.
  9. Click Finish.
  10. Locate the Windows Installer file that is generated when you exported the application proxy, and then run the Windows Installer file on a computer that is running Windows 2000.

    You receive the error message that is mentioned in the "Symptoms" section.

REFERENCES

For additional information about how to export COM+ applications to client computers, click the following article number to view the article in the Microsoft Knowledge Base:

259719 How to export a COM+ application to client computers


Modification Type:MajorLast Reviewed:7/19/2004
Keywords:kberrmsg kbCOMServices kbSysAdmin kbtshoot kbprb KB873192 kbAudDeveloper