[英]Windows Service running as Local System unable to launch Com Server as Interactive User
I have service (written in c# 4) running as the Local System user that needs to communicate with a COM Server (written in ATL) that is configured to run as the interactive user. 我有以本地系统用户身份运行的服务(用c#4编写),该服务需要与配置为以交互用户身份运行的COM服务器(用ATL编写)进行通信。 This COM Server then launches a GUI application. 然后,此COM Server启动GUI应用程序。
This works on my development machine but fails on our test environment and other developers' machine. 这在我的开发机器上有效,但在我们的测试环境和其他开发人员的机器上失败。 On these machines it appears that the COM Server is not being activated at all. 在这些计算机上,COM服务器似乎根本没有被激活。
Any help will be much appreciated 任何帮助都感激不尽
The problem was a permission issue. 问题是权限问题。 On some of the machines the users did not have launch and activation permissions. 在某些计算机上,用户没有启动和激活权限。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.