Cannot Start COM+ components
objComCatalog.InstallComponent "MyComComponent", MyAppPath , "", ""
objComCatalog.StartApplication("MyComComponent")
I get a permission denied error. I'm an admin on the machine. Has
anyone heard of a problem with doing this?
I cannot even start the componenet in the COM+ console? But if I do a
regsvcs and install the component, I can start it. Please Help
Date:17 Jul 2007 09:01:07 -0700
Author:
|
Re: Cannot Start COM+ components
"BillGatesFan" wrote in message
news:1184687838.685934.232230@m37g2000prh.googlegroups.com...
> objComCatalog.InstallComponent "MyComComponent", MyAppPath , "", ""
>
> objComCatalog.StartApplication("MyComComponent")
>
>
> I get a permission denied error. I'm an admin on the machine. Has
> anyone heard of a problem with doing this?
>
> I cannot even start the componenet in the COM+ console? But if I do a
> regsvcs and install the component, I can start it. Please Help
>
Are you trying to install a .NET object into COM+? If so, the recommended
procedure is to derive your object from ServicedComponent and annoint the
configured class with the appropriate declarative attributes. If done
properly, you use regsvcs, and this will be installed automatically into
Component Services.
Brian
Date:Wed, 18 Jul 2007 13:58:28 -0700
Author:
|