Questions tagged [com+]

COM+ (Component Services) is a runtime and set of services that is an evolution of Microsoft Component Object Model (COM) and Microsoft Transaction Server (MTS).

COM+ (Component Services) is an evolution of Microsoft's original COM standard and the old Microsoft Transaction Server (MTS) product, which first shipped with the NT4 Option Pack. It provides services such as distributed transactions, object pooling, activation, and security.

Although the .NET Framework provides wrappers for COM+ (through the System.EnterpriseServices namespace), the technology has been superseded by Windows Communication Foundation.

COM+ has been included in the desktop and server SKUs of Windows since version 2000.

438 questions
32
votes
7 answers

COM, COM+, DCOM, where to start?

I am curious about COM+, DCOM. I know that MSFT does not encourage you to use this tools natively (meaning with C/C++, in fact there is not a lot of documentation available) but I want to learn to use these technologies, like embedding Internet…
noripcord
  • 3,412
  • 5
  • 29
  • 26
14
votes
1 answer

Registration with regasm and regsvcs

I have following question : Is it possible that .NET assembly will be regsitered both with Regasm and Regsvcs? Thanks
lm.
  • 4,033
  • 4
  • 25
  • 37
13
votes
2 answers

Does a (.net) COM+ assembly need to be installed in the GAC?

I have a .net assembly that has a COM+ ServicedCopmonent in it and at the moment I install it into the GAC to get everything working. This means that I need to have every assembly that it references in the GAC as well. During development it is…
Kepboy
  • 3,733
  • 2
  • 30
  • 43
11
votes
2 answers

COM+ activation on a remote server with partitions in C#

I want to access partitioned COM+ applications on a remote server. I have tried this: using COMAdmin using System.Runtime.InteropServices; _serverName = myRemoteServer; _partionName = myPartionName; _message = myMessage; ICOMAdminCatalog2 catalog…
Hamrin
  • 121
  • 3
11
votes
4 answers

using com 32 bits library on 64 bits application

i have a 32 com library and would like to use its functionality by a 64 bits application , i 've searched on the internet and managed to get this workaround Locate your COM object GUID under the HKey_Classes_Root\Wow6432Node\CLSID\[GUID] Once…
Yamen Ajjour
  • 1,422
  • 13
  • 32
10
votes
1 answer

How can i track COM+ events call with Delphi?

I have a huge application that was made with COM+ Objects and i want to track/log the call of events of these components. The objective is to find the problems and refator that methods. I have found some documentation of API like this…
Gabriel Fonseca
  • 345
  • 3
  • 12
10
votes
2 answers

Com+ late binding c# 4.0

In my program I create Com+ objects dynamicly (late binding) using Type comObjectType = Type.GetTypeFromProgID(progId, true); object comObject = Activator.CreateInstance(comObjectType); And then call one of the methods using reflection object…
Daniel Kabzon
  • 326
  • 2
  • 17
10
votes
1 answer

Is there a way to force the application to run as single threaded?

We have an old project that we are supporting and there is an issue that occurs most probably due to multi-threading. The original implementer 'fixed' it by doing a Thread.sleep before executing the problematic section. The workaround works but as…
AngelicCore
  • 1,413
  • 3
  • 22
  • 40
10
votes
2 answers

Correlating IComMethodEvents

When implementing IComMethodEvents you get three events. OnMethodCall OnMethodException OnMethodReturn The goal of what I am trying to do is to log call times per method in COM+ components. The time of the event can be retrieved by using lTime…
Mikael Eriksson
  • 136,425
  • 22
  • 210
  • 281
8
votes
3 answers

Splitting application layers into different assemblies

There is a debate going on at my company. Some are advocating moving business, data and business entities in one assembly for Discoverability purposes. make it easy to find what you're looking for. Reduce the number of dll's we need to add to a…
Ryu
  • 8,641
  • 10
  • 65
  • 98
8
votes
2 answers

com4j versus jacob to call COM methods from Java

I maintain a legacy Java application that uses Jacob, or Java-COM Bridge, to make calls via the COM interfaces of MS VBA and MS Word. I have been looking at com4j from Sun, and it looks promising. The reason it looks good to me is that it uses…
Stephen Harmon
  • 835
  • 2
  • 9
  • 15
8
votes
3 answers

Registering a .NET assembly in a COM+ application outside of the GAC

I developed a .NET assembly (.NET 4.0, strong-named) which exposes two Serviced Components. The assembly (dll) is supposed to be hosted in a COM+ application and it is decorated with the COM+ attributes (assembly & component levels). For example,…
OmriSela
  • 566
  • 1
  • 6
  • 15
8
votes
2 answers

COM+ remoting error code 8000401a because password of This User under Identity tab getting reset

I am an admin in my COM+ server machine, my COM+ server component identity set to "This User" and provided my credentials there. I could invoke my component from client machine. But client app will stop working after some time with errorcode…
Shanadas
  • 515
  • 1
  • 6
  • 22
7
votes
5 answers

Is COM+ still recommended?

I used to write ASP.Net apps deploying business dataaccess layers in COM+ components several years ago. This was the standard in several corporate infrastructure here in my country. Is this still recommended? What is the alternative?
eledu81
7
votes
2 answers

Check if COM+ application is already running?

Is it possible in C# (4.0) to get the list of installed Com+ applications on the same box and then retrieve the status (Running/Shut down) of each of them? I can find methods to start/stop, but not retrieve status.
BlueChippy
  • 5,935
  • 16
  • 81
  • 131
1
2 3
29 30