connecting to a remote server's com+ using COMAdmin fails

700 Views Asked by At

I want to connect to a com+ application that's on the server to uninstall old dlls and install new ones in the com+.

I've tried connecting to the server like suggested here: How do I restart a COM+ application on a remote server from .NET?

COMAdminCatalog objAdmin = new COMAdminCatalog();
objAdmin.Connect(serverIP);

but I get an error: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))

I have a ping and can connect to it remotely (using username & password).

Do I need, somehow, to provide it with the username & password? I couldn't find how on the internet (only in a few places saying you should provide user & pass before committing a change).

Thanks a lot in advance for any help :)

0

There are 0 best solutions below