다음을 통해 공유


Monitoring Event Sink # 33 - Troubleshooting : How to remove COM+ applications?

Usually we see that as existing applications become outdated or are no longer being used, you may need to remove them. I am trying to add couple of methods how you can try to remove COM+ applications in the best effort basis.

Before using the methods, i would recommend you to consider the following info:

  • Exercise care when deleting and reinstalling individual components from a COM+ application. This process requires detailed knowledge about the component's classes, including their attributes, security configurations on interfaces and methods, and other settings.
  • Deleting an application also deletes any components that are contained in the application. If these components depend on additional resources (database connections, data or text files, Internet Information Services (IIS) virtual root configuration, and so on), these resources must be removed by using tools or utilities other than the Component Services snap-in.
  • Please make sure that you’re part of Membership in Administrators, or equivalent, is the minimum required to complete this procedure.

Let me help you with various methods how we can remove COM+ applications:

Method 1: Deleting COM+ applications using Windows Explorer

  • On the computer on which you want to delete the COM+ application, use Windows Explorer to locate the server application file (.msi) or application proxy file (.msi).

  • Right-click the .msi file, and then click Uninstall. Windows Installer automatically deletes the application.

Method 2: Deleting COM+ applications using command line

At the command prompt, type:

msiexec -x <application_name>.msi

Above, application_name is the value/name of the application to be deleted.

These methods are especially useful for deleting COM+ applications on client machines that are not running the Component Services administrative tool.

Method 3: Deleting COM+ applications using Component Services Snap-in

  • Open Component Services.

  • In the console tree, double-click Computers, and then double-click the computer for which you want to delete an application.

  • Double-click the COM+ Applications folder for the specified computer to display all the applications.

  • Click the application that you want to remove.

  • If you selected a server application, shut down the application. To do this, right-click the application, and then click Shut down. If you selected a library application, make sure that all processes that are currently using this library application are shut down.

  • Right-click the application. If Delete is not an option when you right-click the application, you must enable deletion of the application by doing the following:

    1. Right-click the application, and then click Properties.
    2. In the application properties page, select the Advanced tab.
    3. Under Protection, clear the Disable deletion check box.
    4. Click OK.
  • Right-click the application, and then click Delete.

  • In the Confirm Item Delete dialog box, click Yes to delete the application.

Method 4: Deleting COM+ application using Windows Installer

In addition, if a server application or application proxy has been installed on a computer using Windows Installer, you can delete it through the Add/Remove Programs utility in the Microsoft Windows Control Panel.