We have a Windows Service which runs on 2003 Server. It opens a source Word document using the Word Interop and then does some stuff with it. It also does likewise with Excel and PowerPoint files.
Recently we've tried moving this service onto a Windows 2008 Server machine and are having real problems with it.
COMException at Microso...
We have a scenario where some .NET code is attempting to access the current instance of a COM (actually DCOM) object.
The object being accessed was developed in VB6. A current instance of it is available on the remote system, and appears to be accessed correctly from VB6 code.
Attempting to call Marshal.GetActiveObject, specifying the ...
Back in the day, I wrote an out-of-process (i.e. EXE) COM server using VC++ 7.x (Visual Studio 2003 and .Net 1.1) using the ATL library. The server used the Multi Threaded Apartment (MTA) model and is activated by DCOM calls (VB6 clients). Multiple client requests are satisfied by a single process -- which is activated by the first req...
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...
Hi,
I am getting this error
Source : DCOM
Event_ID: 10010
"The server
{6FC4FDAE-96C8-11D3-9F9C-005004053207}
did not register with DCOM within the
required timeout."
This is for a particular exe which when run as local system works fine but when run under an non- builtin administrator fails.
I need the exe to run un...
Wondering why "DCOM Server Process Luancher" starts up IIS Admin even when it's set to manual.
Is this a factor of my Visual Studio 2008, SQL Server 2005, or something more nefarious involved?
...
I have a out of proc COM server (ATL based) and a Java app that instantiates objects from this COM server on the same machine.
What more is needed to DCOM enable it? Is work needed on the COM server only or server and client?
...
I've been using a 32 bit COM library by registering it with regsvr32 and all works fine. Since I need to access it from a 64 bit process, I'm now registering it as COM+ through the Component Services administrative tool. Problem is, it seems that not all of the COM interfaces are exposed anymore. What could be the reasons for this?
...
Anything higher-level, and more comprehensive than pipes/sockets?
...
In the past I have used a DCOM connection to call R functions from Excel and from VBA inside of Excel. I just got a new laptop and have been looking for the install files for the R add in for Excel. I find references to it all over the place but they all point to R (D)COM Server project's home page at http://sunsite.univie.ac.at/rcom. Th...
COM as we know is language and platform independent standard, but all the time I see only articles on developing COM components on Windows. Could you share your thoughts on how to develop a true cross-platform application.
...
Does anybody know, if it is possible to use the "old" SAP DCOM Connector on a Windows Server 2008 ?
I want to migrate a old ASP Web Solution with DCOM Connection to SAP from Windows 2000 Server to Windows 2008 Server.
When I try to install the DCOM Connector I get the Error Message:
"Setup could not find ActivX(R) Data Objects verion...
I know .net has WCF, which I believe was touted as the replacement for COM when it was codenamed Indigo(?) - but is it actually suitable for use in a .NET app, providing the same functionality as a C++/DCOM application?
A DCOM app on a client-server system can be a pain, but I think it's quite efficient compared to other options like we...
I developed a C# program that pulls data from a SQL Server database and then generates Word documents which include the data. I've set the program up to run as part of an SSIS job on a Windows Server 2003 box. The program runs as user SQLSVC which doesn't have administrative privileges. When I log in as SQLSVC and run the program it e...
I'm currently maintaining a piece of software that we outsourced couple of years ago and that is poorly documented. The piece is a COM server for consuming by third-party applications and an installer that does all necessary deployment.
There's the core compiled as 32-bit DLL and meant to be used from 32-bit applications. And there's al...
I'm trying to force an existing native C++ ATL in-proc COM server into a separate process. I hope DCOM can do this for me without changing the COM server.
I started with a usual registry setup - I have a HKCR\CLSID{classId} entry and an InProcServer32 key there specifying the path to the .dll file.
I generated an application id (GUID) ...
I need to shield a 64-bit COM component consumer from the 32-bit native C++ ATL in-proc COM component.
Seems like both COM+ and DCOM can host my in-proc component in a separate process and do the marshalling so that both me and the consumer application don't care of it and I even don't have to change my in-proc component at all. I tried...
There seems to be a lot of enmity against DCOM, and I'm curious to understand why. For a company still writing to the Win32 SKD using C++, is there any real reason not to use DCOM in current or future development? Is some future version of Windows not going to support it? Is it too fragile and fails to work often? Is it too complicated t...
I have a COM interface to start and use a program. This works great on a local machine. Is there a possibility to start that program on another machine, through the network without installing other software on it or making changes to the program?
...
I am working with 2 PCs, both running both running Windows XP. Both have the same application registered with its DCOM interface. Now i'm trying to start the program from one computer on the other.
First I called CoInitializeSecurity, after that CoCreateInstanceEx, but the result is a E_ACCESSDENIED.
I did also run dcomcnfg, to give an...