HighTechTalks DotNet Forums  

Cannot Start COM+ components

Dotnet Framework (Component Services) microsoft.public.dotnet.framework.component_services


Discuss Cannot Start COM+ components in the Dotnet Framework (Component Services) forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
BillGatesFan
 
Posts: n/a

Default Cannot Start COM+ components - 07-17-2007 , 12:01 PM






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


Reply With Quote
  #2  
Old   
Brian Muth
 
Posts: n/a

Default Re: Cannot Start COM+ components - 07-18-2007 , 04:58 PM







"BillGatesFan" <klj_mcsd (AT) hotmail (DOT) com> wrote

Quote:
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



Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.