zoukankan      html  css  js  c++  java
  • the specified service is marked as deletion,can not find the file specified

    使用命令注册windows service

    sc create CCGSQueueService binpath= "D:DKX4003servicesxxx.xx.xxxxx.exe"

    在服务资源管理器中找到CCGSQueueService服务,启动提示“can not find the file specified.”不能找到指定的文件。

    原因:

    路径中不要有特殊符号,比如"."。所以把路径改成“sc create CCGSQueueService binpath= "D:DKX4003servicesxxxxxxxxx.exe"”重新注册服务后启动,可以了。

    同时用命令卸载windows service时提示“the specified service is marked as deletion”。

    执行:sc delete CCGSQueueService

    原因:服务资源管理器中正在操作CCGSQueueService服务,就会有这个提示。

    解决办法:关闭服务资源管理器,在打开则CCGSQueueService服务不存在了,写在完成。或者命令行中执行:sc query CCGSQueueService 查看则服务不存在。

  • 相关阅读:
    Train Problem(栈的应用)
    Code obfuscatio (翻译!)
    Milking Cows
    Sorting a Three-Valued Sequence(三值排序)
    Asphalting Roads(翻译!)
    FatMouse' Trade
    Fibonacci Again
    Yogurt factory
    经济节约
    Lucky Conversion(找规律)
  • 原文地址:https://www.cnblogs.com/hofmann/p/11231692.html
Copyright © 2011-2022 走看看