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...
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...
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...
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 ...
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...
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...
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...
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...
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...
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...
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...
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...
(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...
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 ...
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...
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...
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?
...
My software makes heavy use of COM. It is very, very slow. Is there some trick to speeding COM communication up?
...
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...
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(...