com+

Method 'ownerDocument' of object 'IXMLDOMElement' failed

I have a VB6 COM+ component which is being accessed via IE6. When running normally it works as expected, but when I am debugging in VS6 I get an error: Method 'ownerDocument' of object 'IXMLDOMElement' failed The code is as follows and it fails on the last line of this snippet: Private m_ndContract As MSXML2.IXMLDOMNode ... Dim ndEl...

COM exception on "custom component" - how to identify DLL?

We have a large legacy VB app made up of a number of DLLs (a couple of dozen or so), all installed into a single COM+ Server Application. Every now and then, something happens that causes dllhost.exe to keel over (and automatically restart), leaving this message in the Windows Application Event log... The system has called a custom c...

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. ...

Disabling a COM+ app disables clients running on same server from instanting remote component on a different server

We have a COM+ component written in C++ running on multiple servers under a server COM+ application. If we disable the application on server1, and a client process running on server1 tries to instantiate the component remotely on another machine server2 where it is still enabled, the client gets the error 0x800004027 The component or ap...

COM+: NotImplementedException

I'm trying to instaniate my own COM+ component (running as a library application) without success. All I get is a NotImplementedException when I try to create it dim myComponent As New MyComponent() The stack trace is not of much help: at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr ...

COM+: ApplicationException instead of thrown exception

I got a ASP.net webservice which calls a COM+ component. A class in the COM+ component throws an exception which I want to handle. But ApplicationException is caught by the webbservice instead of the real exception. Why is that? Edit: Exception details System.ApplicationException: Error in the application. at System.Runtime.Intero...

Duplicate a COM+ Server application?

Is it possible to clone or duplicate a COM+ application, to give me two applications that are in essence identical, just with different names? I'm using the Axapta COM+ connnection component and would like to connect to two different Axapta environments. At the monent I have a single COM+ application and therefore need to log it off one...

ASP Bizarre Session COM+ Object Lost!

Hello Dear, I'm needing a lot of help from yours. I have an application in ASP, not ASP.NET ... Which uses several COM+ components developed for me. Below is an example of using one of the components. Dim componentXPTO Dim xpto componentXPTO = Server.CreateObject("NAMESPACE.XPTO") Set xpto = componentXPTO.myFunction(variables) Set...

View heap in a .dmp file

I got a COM+ application (ServicedComponent's) that doesn't free it's memory (possible memory leak). I've generated a DMP file from it (about 1.4 GB large). How can I view the heap to see what all the memory are used for? ...

ServicedComponent calling another ServicedComponent in the same Server application = remoting?

Is remoting used if a ServicedComponent is calling another ServicedComponent in the same COM+ application? ...

Error while creating COM class object in a remote machine using DCOM

Hi, We are getting an error message [Exception - 80070057] while creating COM class object through web application [ASP .NET, C# .NET]. The COM server is installed in a remote machine, its connected to web server using DCOM (COM+). But its not happening all the time, it will happen only after trying lots login through webpage. The COM...

ObjectContext items collection is empty in COM+ Component

Hi all, I have ported a COM+ written in VB 6.0 to run in ASP.NET 3.5 and am attempting to debug locally -- My client is an ASP.NET application-- the target client will actually be a classic ASP application, but we aren't allowed to run IIS on our development machines, so I'm just trying to get the code to work with ASP.NET for now. Wh...

how to register COM+ application from VS Setup

I'm trying to create an installer for my serviced component (queued component). Once the .NET DLL is installed on client machine, I want to register it as COM+ Application, as if by invoking regsvcs MyAssembly.dll. What is the best way to do it? Can I invoke regsvcs from Windows Setup program, once it has installed my .NET DLL on client...

Where did all the memory go?

We've built a windows service which uses some COM+ components (developed by us). It runs on a Windows server (virtual through vmware) and something is eating memory. Memory check I did a small application which runs through all Process.GetProcesses and return their total memory usage: First run: C:\Temp>ProcessExplorer.exe Virtual: 1...

how would you connect a classic asp web application with a java component?

We have several classic asp web application that instantiates a visual basic 6 component, passes a (possibly huge) xml string, and gets back a (also possibly huge) xml string. This component is the only way we have to interact with the database. We are planning to rewrite this component using java. The idea is to left the rest of the ...