COM+

Hi. I have a COM+ component done in C# (A class that inherits from ServicedComponent class). I have this component registered in, suppose, computer A. The question is: how can I use this component from, suppose, a computer B using remoting what is the best way of doing that

Thanks.



Answer this question

COM+

  • clacivita

    You need to set up an Application Proxy. Follow these steps:
    1. Set up your COM+ package normally on the SERVER machine using Component Services
    2. Right-click on your COM+ Application on the SERVER, and choose Export
    3. Choose Next on the introduction screen
    4. Enter a file name to export the proxy, eg. "C:\temp\myProxy.MSI". Select Export as "Application Proxy". Choose "Next".
    5. Choose Finish
    On the REMOTE machine, install the MSI package (I think you'll need to copy across the .cab file that was created as well):
    1. Open the MSI file exported above on the remote machine. This installs the application as a proxy.
    2. You'll now have the proxy available in the Component Services on the remote machine, however all configuration must be done on the SERVER machine.


  • COM+