PeterKottas / DotNetCore.WindowsService

Simple library that allows one to host dot net core application as windows services. Perfect solution to power micro-services architecture.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

The service did not respond to the start or control request in a timely fashion

jiekexinduo opened this issue · comments

When I Run NetCore2 Project in Console Application,it runs well . When I published it and run a command like this "dotnet run xxxxx.dll built-in-account action:instal" it threw a error "The service did not respond to the start or control request in a timely fashion",but the service was installed completed and its state was stopped. Restart it and it will throw error above. could you please help me ?

sorry, it's my fault,my program has an error and lead to it cant start