Questions tagged [dcom]

Distributed COM (DCOM) is a protocol that enables software components to communicate with one another over a network.

DCOM is the distributed extension of COM. It specifies the additional infrastructure that is required to further extend COM to networked environments and enable software components to communicate with one another over a network. DCOM is designed for use across multiple network transports, including Internet protocols such as HTTP. It is based on the OSF's DCE RPC specification and implemented as a layer over Microsoft RPC.

403 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
26
votes
4 answers

Automating Office via Windows Service on Server 2008

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…
Graeme
  • 1,657
  • 5
  • 28
  • 46
16
votes
1 answer

RPC from Windows to linux

Is there some (working) example how to create RPC from windows to linux? Client should be windows NT application, server is linux. It needs to be MSRPC. No Corba, no XML-RPC, SUN-RPC etc MSDN says this: RPC can be used in all client/server…
rkosegi
  • 14,165
  • 5
  • 50
  • 83
15
votes
2 answers

How does impersonation in DCOM work?

I have a DCOM client and server applications which use OLE automation marshaller. They work fine when run on the same PC but when the server is on a different PC not in the same domain I get E_ACCESSDENIED (0x80070005). Server PC is configured with…
himself
  • 4,806
  • 2
  • 27
  • 43
13
votes
5 answers

Excel COM automation via interactive user stops working when user logs off

I have developed a server app that uses Excel 2007 COM automation to convert some xls files. It is started as a service on a Windows Datacenter instance, running under its own user, and I had to change DCOM security settings ("launch as interactive…
Michael Böckling
  • 7,341
  • 6
  • 55
  • 76
13
votes
2 answers

Couldn't find Microsoft Word Document in DCOM Config

I am creating a simple asp.net web site that use office 2007/2010 automation .. when i published the website on the iis 7 on my local machine (window 7) have an exception Retrieving the COM class factory for component with CLSID …
Abdullah Darwish
  • 223
  • 2
  • 5
  • 17
12
votes
6 answers

What's wrong with DCOM?

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…
Charles
  • 2,642
  • 3
  • 33
  • 53
10
votes
1 answer

What do the different DCOM / COM security settings mean?

Our application uses COM and DCOM extensively, and so as part of that we need to ensure that the COM security permissions are correctly set up. I know that I can access these permissions under the Component Services MMC snap in and that I can set…
Justin
  • 84,773
  • 49
  • 224
  • 367
10
votes
7 answers

What is the closest thing to Windows COM/DCOM in the Linux world?

Anything higher-level, and more comprehensive than pipes/sockets?
fakeleft
  • 2,830
  • 2
  • 30
  • 32
9
votes
2 answers

CORBA/ RMI and (D) COM are any still relevant today?

Are CORBA (language agnostic) / RMI (Java) and (D) COM (MS) still relevant today, or is there a technology that has surpassed them? Cheers, J
JHarley1
  • 2,026
  • 6
  • 24
  • 34
8
votes
3 answers

With what shall we replace the DCOM communication with?

We currently have a number of C++/MFC applications that communicate with each other via DCOM. Now we will update the applications and also want to replace DCOM with something more modern, something that is easier to work with. But we do not know…
magol
  • 6,135
  • 17
  • 65
  • 120
8
votes
2 answers

Change DCOM config security settings using Powershell

I have been given the task of writing Powershell scripts to set up a server from scratch to run one of our services as part of a web application, and one of the steps required for setting this server up is changing the DCOM config for the installed…
Vermin
  • 917
  • 2
  • 11
  • 23
7
votes
5 answers

dcomcnfg functionality programmatically

I can find all sorts of stuff on how to program for DCOM, but practically nothing on how to set/check the security programmatically. I'm not trying to recreate dcomcnfg, but if I knew how to reproduce all the functionality of dcomcnfg in C#…
PerryJ
  • 399
  • 1
  • 3
  • 15
7
votes
4 answers

How to change DCOM config identity programmatically

Is there any way to get the information about Launching identity of DCOM application programmatically. See the picture attached to understand what i mean. I tried to use WMI ManagementObjectSearcher s = new ManagementObjectSearcher(new…
Oleksii
  • 311
  • 1
  • 3
  • 10
7
votes
1 answer

change Access Permissions in Component Services > COM Security with script/api?

is there an api to change the Access Permissions for the COM Security? i need to write new values to "Edit Limits..." and "Edit Default...". are these plain registry settings? can't find how to set these entries.
devployment
  • 2,121
  • 1
  • 22
  • 33
1
2 3
26 27