Questions tagged [comadmin]

9 questions
4
votes
1 answer

Why does setting the 'QueuingEnabled' of a COM+ app remotely by powershell cause the save to fail?

I have this powershell script which is creating COM+ applications on a remote machine: $credentials = Get-Credential -Message "Test" -User "DOMAIN\User" $roleRM = new-pssession -computername MACHINE -credential $credentials Invoke-Command -Session…
Sam Holder
  • 32,535
  • 13
  • 101
  • 181
3
votes
1 answer

How do I restart a COM+ application on a remote server from .NET?

How do I programmatically restart a COM+ application running on a remote server from code in .NET?
Daniel Fortunov
  • 43,309
  • 26
  • 81
  • 106
3
votes
1 answer

C# access data from COMAdmin.COMAdminCatalog using WMI

Earlier I was using code as below to grab COM+ applications and verify that my app is running COMAdmin.COMAdminCatalog catalog = new COMAdmin.COMAdminCatalogClass(); catalog.Connect(servername); catalog.GetCollection("Applications") Now I need to…
Armedian
  • 33
  • 8
1
vote
0 answers

How do I programmatically add a user to the Access Permissions in DCOM Config

I have created an installer using WIX and have a custom action to add my COM+ application using COMAdminCatalog. But what I would like to do is also configure the security for the Access Permissions. After install these use the default COM…
BassetMan
  • 461
  • 6
  • 13
1
vote
1 answer

How do I remove a COM+ component from a COM+ application programmatically

I am trying to automate a build, and the application uses COM+ applications with Components, and I need to figure out how to delete the component from the package using c#. I am using the COMAdmin library, and have built out a collection of the…
Jesse McCulloch
  • 683
  • 4
  • 13
0
votes
4 answers

.Net 2.0: How to subscribe to a event publisher on a remote computer using transient subscriptions?

My problem is that I want to have a server application (on a remote computer) to publish certain events to several client computers. The server and client communicate using .Net-Remoting so currently I am using remoted .Net-Events to get the…
lowglider
  • 1,087
  • 2
  • 11
  • 21
0
votes
0 answers

Com+ components registration status by passing machine name using c#

How to get the list of com+ components registered in the machine by passing machine name using c#. I have tried using comadmincatalog.connect("machine name/ip address"). Getting exception like below the component or application containing the…
user2514925
  • 931
  • 8
  • 33
  • 56
0
votes
1 answer

Component services. programmatically add component with specific user credentials. vb.net

I am trying to add components to com services in a vb.net app. I have gotten everything working as it should apart from assigning a user role to the component. The component cant be accessed without this specified role. Below is my code for adding…
user4184963
  • 79
  • 1
  • 10
0
votes
0 answers

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

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…
WillyCode
  • 135
  • 2
  • 10