Not enough permissions to install service

后端 未结 8 874
悲&欢浪女
悲&欢浪女 2021-02-08 14:04

I have the following declaration of my service:



        
8条回答
  •  孤街浪徒
    2021-02-08 14:35

    The error message is misleading. You will get that error message whenever the service fails to start, but it may not have anything to do with permissions.

    1. Open a visual studio command prompt and manually install it:

      installutil 
      
    2. Then try manually starting the service on your machine (via services.msc).

    If your service fails, it is an issue with your service and not the installer.

提交回复
热议问题