Re: [ADVANCED-DOTNET] Way to set COM+/Enterprise services attribute for application account?

2003-10-08 Thread Paul Laudeman
Yes, you'll need to do the following: 1. Run TlbImp.exe (.net Framework tool) to generate a managed runtime rapper for the comadmin.dll library (which gives you programmatic access to the COM+ catalog. I think the syntax is: tlbimp comadmin.dll /out:comadminLIB.dll You can also get this library

Re: [ADVANCED-DOTNET] Way to set COM+/Enterprise services attribute for application account?

2003-10-07 Thread Stoyan Damov
Try the ChangeServiceConfig API. HTH, Stoyan -Original Message- From: Moderated discussion of advanced .NET topics. [mailto:[EMAIL PROTECTED] On Behalf Of Bill Bassler Sent: Monday, October 06, 2003 8:48 PM To: [EMAIL PROTECTED] Subject: [ADVANCED-DOTNET] Way to set COM+/Enterprise

[ADVANCED-DOTNET] Way to set COM+/Enterprise services attribute for application account?

2003-10-06 Thread Bill Bassler
Is there a way to programatically set the Account/password that a Serviced application will run as? Either through attribute decoration or through a mechanism like a Custom Action and use of the RegistrationHelper class. i.e in the Component Services Explorer ... Select a COM+ application (right-c