Not enough permissions to install service

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

I have the following declaration of my service:



        
相关标签:
8条回答
  • 2021-02-08 14:38

    Yet another reason while this common error will be thrown:

    If there is an invalid ServiceConfig element below the ServiceInstall element.

    Most probably this will apply to any invalid child element of ServiceInstall.

    0 讨论(0)
  • 2021-02-08 14:39

    I had the same problem, it was caused by an earlier version of the service still running on the system. To fix this launch an elevated command line prompt and type:

     SC delete NameOfService
    
    0 讨论(0)
提交回复
热议问题