[英]WCF Windows service permissions problem
I have created a WCF service and hosted it using Windows Services host. 我已经创建了WCF服务,并使用Windows Services主机托管了它。 To install the project I created an installation project (as described here ).
要安装的项目,我创建了一个安装工程(如描述在这里 )。 In the tutorial, it says to define in the ProjectInstaller.cs the
serviceProcessInstaller1
Account property to be Network Service . 在本教程中,它说要在ProjectInstaller.cs中将
serviceProcessInstaller1
Account属性定义为Network Service 。 When using this setting the service did not started on the server. 使用此设置时,服务未在服务器上启动。 When I tried to start the process manually, it immediately returned to stopped state.
当我尝试手动启动该过程时,它立即返回到停止状态。
After when I changed the Account to LocalSystem the service works properly. 将帐户更改为LocalSystem之后,该服务将正常运行。 My questions are:
我的问题是:
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.