PDA

View Full Version : COM+ Application - Extending VBP5


mvermeulen
07-15-2003, 01:25 PM
There are some additional configuration options when dealing with COM+ applications that I do not see as a part of VBP5. One specifically is the ability to define a new role to a COM+ Application. Has anyone done this or am I missing something?

Another area would be the installing of a component as an Event Class rather than the standard or default.

I am assuming these would need to be added utilizing scripts? Is this correct?

Thank you,
Mark Vermeulen

kinook
07-15-2003, 05:38 PM
The built-in COM+ actions don't provide support for defining roles, so you would need to write script code to automate that. See the Roles COM+ docs for more details: http://msdn.microsoft.com/library/en-us/cossdk/htm/comadmincollections_1g6m.asp

You can specify that a Component should be installed as an event class by adding a Name of IsEventClass, Value of True on the Properties tab of the COM+ Component action. The Components collection shows the custom properties that are available: http://msdn.microsoft.com/library/en-us/cossdk/htm/comadmincollections_4nji.asp

mvermeulen
07-16-2003, 09:19 AM
The IsEventClass, True gives me an error. It states that the parameter is incorrect. I have double checked the entry and everything looks fine. ??

kinook
07-16-2003, 11:40 AM
Oops, sorry about that -- I see that IsEventClass is a read-only property. Apparently that does require an alternate installation method, which would require using script code as you suggested. This page has more details: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cossdk/htm/pgservices_events_7oz7.asp