all groups > dotnet component services > august 2004 >
You're in the

dotnet component services

group:

When a component is configured to use COM+...


When a component is configured to use COM+... jhurrell NO[at]SPAM gmail.com
8/25/2004 11:09:53 AM
dotnet component services: I've come across some documentation from Microsoft that states:

"When a component is configured to use COM+, it must reside in only
one COM+ application."

I'm having trouble interpreting this. They cannot be stating that a
component can only be used by a single COM+ application. What are they
Re: When a component is configured to use COM+... Tomas Restrepo (MVP)
8/25/2004 6:24:20 PM
John,

[quoted text, click to view]

A COM+ component can only be registered in one application [1]. This
includes .NET ServicedComponents. The thing is: You can *use* it (call it)
from other applications, but the component itself can only be registered in
the COM+ catalog inside a single COM+ application.


[1] This changes a little with partitions in Windows Server 2003, but the
essence is the same....

--
Tomas Restrepo
tomasr@mvps.org

Re: When a component is configured to use COM+... jhurrell NO[at]SPAM gmail.com
8/26/2004 5:28:41 AM
[quoted text, click to view]

I can use Component Services on XP Pro to create two COM+ applications
and add the same component (ATL DLL) to each. Doesn't this contradict?

Re: When a component is configured to use COM+... Tomas Restrepo (MVP)
8/26/2004 7:12:55 PM
Hi John,

[quoted text, click to view]

That won't do what you expect it to do, though...

Just try this: Check on which of the two applications your component is
getting activated....
--
Tomas Restrepo
tomasr@mvps.org

Re: When a component is configured to use COM+... jhurrell NO[at]SPAM gmail.com
8/27/2004 12:43:05 PM
[quoted text, click to view]

Ahhhh... Excellent.

AddThis Social Bookmark Button