Category "windows-services"

Can't start worker service as windows service

So. I created a worker service and want to run it as windows service. It works locally. I installed it to windows server via powershell new-service command. Whe

.NET Core Worker service host as a Windows Services (using Coravel for task scheduling)

I have created a worker service to schedule a task using Coravel is a .NET Standard library and it is working as expected. I want to host the same as a windows

Change username and password for an existing Windows service in Java via Advapi32 (JNA API)

I have been trying to change configuration for an existing Windows Service via the JNA API, specifically via com.sun.jna.platform.win32.Advapi32 class but could

error 1503 the service didn't respond to the start or control request in a timely fashion

I have installed a Windows Service for my project, this error pop out when I start the service. error 1503 the service didn't respond to the start or contro

ASP.NET Core (.Net 6) Web Application throws System.NotSupportedException when run as a service. (Service will not start)

When I attempt to run my .Net Web Application as a Windows Service, it does not start. It works if I just run the executable but mysteriously fails when attempt

How to host a web API in a windows service?

I have created and started a windows service (with exe as MyService.exe) using C# on the other hand I follow up this link for self-hosting: https://codeopinion.

How to get service recovery options from Powershell?

I'm having issues figuring out an easy way to get the recovery options of a particular service in powershell. Using command line sc: sc qfailure [servicename]

How to run a program from windows service with administrator privileges

I created a windows service that runs a program on windows startup, but with this solution the program runs without administrator privileges. However, if I run

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

I have created and installed a service a couple of times. Initially it was working fine, but after some changes in the service Code it start giving the error wh

Cannot start windows service (.Net Core worker service) due to extra extension methods on IHostBuilder

Goal: I'm trying to run a .Net Core 3.1 Worker service as a windows service. Setup: I've used the Worker service default template via Visual Studio. To add wind

Is it possible to access redemption method of outlook add in using windows services

I have created outlook addin in C# to storing mail subjects in SQLite database using redemption(background). Can we access redemption method/Class of outlook ad

C# worker service vs windows service

What is the big difference between the worker service project template and the windows service project template and which is better to use? When can I use a wo

.NET console application as Windows service

I have console application and would like to run it as Windows service. VS2010 has project template which allow to attach console project and build Windows serv

Host ASP (.NET 6) in a Windows Service

I am currently hosting an ASP.NET (.NET 5) application in a Windows Service using WebHost and WebHostBuilder. .NET 6 introduced WebApplication and WebApplicatio

HTTP The service is starting or stopping. Please try again later error on windows 7

I used following command to stop the HTTP service net stop http /y And I got following error message: The service is starting or stopping. Please try