Closed
Description
Description
I've followed the steps in the article and I've also tried the sample applications.
In all asses I get the error 1053: The service did not respond to the start or control request in a timely fashion.
Page URL
Content source URL
https://github.com/dotnet/AspNetCore.Docs/blob/main/aspnetcore/host-and-deploy/windows-service.md
Document ID
4b60d24e-ef05-15e5-10b4-483094081bf3
Article author
Metadata
- ID: b0bd8cb8-7e28-8c4d-a550-3aea8f3ab4dd
- Service: aspnet-core
- Sub-service: hosting-deployment
Activity
Rick-Anderson commentedon Jan 31, 2025
Get-Service -Name {SERVICE NAME}
?dotnet --version
Have you tried https://learn.microsoft.com/en-us/dotnet/core/extensions/workers ?
dcarapic commentedon Jan 31, 2025
The problem was that I had additional things in the test application before reaching the app.Run part. It seems that service manager is very picky about time needed to start.
You can close this ticket.
Sorry for wasting your time.