com+

Monitoring COM+ objects

I am left with a legacy application that is COM+ based. This application has about 500 registered COM objects that are displayed in the Component Services window. Every couple of days when monitoring using Component Services, we notice the COM+ activated objects grow but the same object in call is 0. Is there a way to write an external p...

Can DCOM/ COM+ activated objects deadlock CPU?

How does one figure out CPU level deadlocks for a COM+ application? This is an application running on Win2K. Regardless of the load, 1 object which is used by all other objects starts building up call times suddenly and then the system crashes. The only way to restore the system to its normal working situation is by restarting the COM+ a...

Use Windbg find argumet passed to a COM+ method

Generated a debug diagnostic dump file for a COM+ application. Upon analysis look like threads deadlocks at line OLE32!SwitchSTA. My symbol path is pointing to msdl.microsoft.com/download/symbols. Is there way to know what arguments were passed to this method? In general, how does one use Windbg to find the input argument value to the m...

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 Explorer into a C program. I thought that maybe I could find people that worked with this or ...

EnterpriseServicesInteropOption for .NET to COM+ call

I need to carry out some database updates, part of which will go through a COM+ component (that will be enabled for transactions), and others through standard LINQ to SQL, and I want both updates to part of one transaction. I intend to use a TransactionScope to allow .NET and COM+ transactions to synchronise. However having read the doc...

How to call a com+ component?

Hi, I'm making some archeology, dealing with COM+ I managed to enlist a simple COM dll as a COM+ component, so far so good. So I've got this 'foobar' com+ component, with it's interface, and the method I'd like to call. My question is then rally simple: how am I supposed to make a call to this component? Any .NET or VB6 answer is ac...

COM+ events with c# and .NET

I'm trying to get access to certain parts of my application through COM, mainly because I need a Delphi application to be able to invoke certain services on the .NET application. I've managed to expose some methods via COM inheriting from ServicedComponent class and its working fine. Now I need to be able to raise events to the client...

COM+ - Install or Import - a way to know after installation

Is there a way (programmatically) to determine, after installing a COM+ component, if the admin choose 'Install Component' or 'Import Component' ? We have an application that take care of querying a server to dump its COM+ configuration for a specified package. And, to make sure we installed it the exact same way onto another server, we...

Using Remote COM+ with C#

Hi, I'm starting to use COM+ development due to a necessity on a project, and I started to create a proof of concept based on this just understand how it works. I could create a simple Component Service with C# by extending System.EnterpriseService.ServicedComponent, and setted its assembly attributes and it worked on a local machine. O...

Best host on Windows for UI-less processes

We're planning a system running on Windows/.Net 3.5 that has a number of "services" that need to run in the background. Some will be active all of the time, but some will only be called occassionally and can be stood-up on demand. As far as I can see, my options are: Windows Services - always running(?) IIS hosted something - called o...

Oracle connections from a COM+ application

We have an Oracle 10.2.0 server running. There is a schema on the server called FOO. I have created an ODBC connection to the schema using the 10.2.0 client. We have a desktop application that has core database access libraries written by ourselves that uese SQLDriverConnect etc. We also have a COM+ application that makes use of the s...

Cannot Start IIS on my PC: COM+ System Application: Access is Denied

I'm trying to do some web development. I cannot start IIS (I need to run some Web Services). As of about a month ago, the "COM+ System Application" service has started failing with this error: The COM+ System Application service failed to start due to the following error: Access is denied. DCOM also logs an error in the even...

Classic ASP using COM+ on x64 Windows Server 2008 and IIS7

(Note: I thought about posting this to serverfault, but I figured more developers have banged their heads against these issues than admins) I'm trying to set up a web page that uses both ASP Classic and ASP.NET 2.0 in the environment mentioned above. After applying many common fixes on the web and a few lucky guesses, the ASP.NET 2.0 pa...

Windows Server 2003 - Leave running when idle

Hi there, I'm currently moving a website to a new server, whilst doing so i've noticed the option to set com+ application components running when idle. This option is currently set to true on all components, but it sounds to me like there would be some sort of trade off (page load time vs strain on server). Does anybody know what the ...

VB 6 COM+ <-> .NET Enterprise Services, 'Multiple-Step operation generated errors.'

I have a legacy VB 6 client app, which uses a VB ActiveX control, which then communicates via DCOM to a VB component registered in the COM+ Catalog. The VB COM+ component communicates with a .NET component, also registered in the COM+ Catalog. I have an issue when our COM+ application Activation is set to Server, which is required to m...

Unit Testing Assemblies Running Out Of Process

Anybody out there have experience testing "out of process assemblies"? I'm testing some Com+ (Serviced Component) and WCF services configured to be activated out of process and I'm not sure what the best practices are for testing in these situations. What I've done is given the public classes their own IOC container that they can buil...

Why is CoCreation of a COM+ component failing with 0x8007007e "The specified module could not be found"?

I have a COM dll that is working fine as an in-proc server and I install it in Component Services COM+ Applications. Now when I try to CoCreate it from my client app, I get HRESULT 0x8007007e "The specified module could not be found". What could be causing this? ...

Is there any way to speed up COM?

My software makes heavy use of COM. It is very, very slow. Is there some trick to speeding COM communication up? ...

COM+ Registration Error

Peace all, I am currently having a trouble with registering a COM+ component. I tried to register it via the GUI (by dragging the DLL into the component folder). The error code I am getting is 80110425. The prequel to this error was a message saying something like this: "The DLL could not be loaded. Check to make sure all required appl...

Calling a COM+ Component remotely using C#

Hello, I have a little COM+ component as a service on a remote server. I´m trying to execute a method of this component using: Type type = Type.GetTypeFromProgID("ComPlusTest.ComTestClass",serverName); // Create Service Object service = Activator.CreateInstance(type); // Execute Method String result = service.GetType().InvokeMember(...