dcom

RPC from Windows to linux

烈酒焚心 提交于 2019-11-28 23:19:52
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 applications based on Windows operating systems. It can also be used to create client and server programs for heterogeneous network environments that include such operating systems as Unix and Apple. Unfortunately after spending few hours on google I'm giving up. My expectation: Linux node should have samba installed, because their MSRPC implementation

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

我们两清 提交于 2019-11-28 21:53:32
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 user") to make it work. The problem is, when I log off (via RDP), it stops working. I log on, it works again. Has anyone had the same problem? Michael Böckling Ok, so I couldn't get Excel to operate without an interactive user, no amount of DCOMCNFG trickery would do. So I simply configured autologin for the user the service is running under (see

COM, COM+, DCOM, where to start?

非 Y 不嫁゛ 提交于 2019-11-28 16:19:01
问题 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 that knows about this technology. Where to start? Any ideas? Any example (like Hello World DCOM)? 回答1: If you are serious about learning COM, Don Box's

dcomcnfg functionality programmatically

二次信任 提交于 2019-11-28 13:40:13
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# (preferred, or VB.net) then my goal is in sight. I can't seem to be able to find any good resource on this, no open source API's or even quick examples of how to do each step. Even here DCOM or dcomcnfg returns few results and none really about how to set/verify/list security. If anybody has some pointers to an open API or some examples I would appreciate

RPC from Windows to linux

旧巷老猫 提交于 2019-11-27 14:54:44
问题 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 applications based on Windows operating systems. It can also be used to create client and server programs for heterogeneous network environments that include such operating systems as Unix and Apple. Unfortunately after spending few hours on google I'm

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

半腔热情 提交于 2019-11-27 14:01:12
问题 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 user") to make it work. The problem is, when I log off (via RDP), it stops working. I log on, it works again. Has anyone had the same problem? 回答1: Ok, so I couldn't get Excel to operate without an interactive user, no amount of DCOMCNFG trickery

dcomcnfg functionality programmatically

拟墨画扇 提交于 2019-11-27 07:56:26
问题 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# (preferred, or VB.net) then my goal is in sight. I can't seem to be able to find any good resource on this, no open source API's or even quick examples of how to do each step. Even here DCOM or dcomcnfg returns few results and none really about how to set

Change DCOM config security settings using Powershell

梦想与她 提交于 2019-11-26 20:29:27
问题 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 service, specifically adding accounts to the "Launch and Activation"/"Access" Permissions and also set the permissions for these accounts once they have been added. Is there a method of doing this using Powershell at all? I haven't been able to

Automating Office via Windows Service on Server 2008

本小妞迷上赌 提交于 2019-11-26 17:43:27
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 Microsoft.Office.Interop.Excel.Workbooks.Open COMException at Microsoft.Office.Interop.Word.Documents.Open I get the above exceptions when the windows service is running on 2008 Server. Looking at the Task Manager, the application does load ok, but then closes again

Automating Office via Windows Service on Server 2008

穿精又带淫゛_ 提交于 2019-11-26 05:33:11
问题 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 Microsoft.Office.Interop.Excel.Workbooks.Open COMException at Microsoft.Office.Interop.Word.Documents.Open I get the above exceptions when the windows service is running