Top "Windows-services" questions

Windows services are background service processes run by the Service Control Manager on Windows NT based operating systems, similar to daemons or UNIX services.

Automating Office via Windows Service on Server 2008

We have a Windows Service which runs on 2003 Server. It opens a source Word document using the Word Interop and …

windows-services windows-server-2008 ms-office dcom comexception
Error while writing to event log, prevents windows service from starting?

I am using the following code to create a custom event log in my windows service application: public ServiceConstructor() { InitializeComponent(); …

c# windows-services event-log
What is the best NHibernate session management approach for using in a multithread windows service application?

I have a windows service application that work with multithread. I use NHibernate in data access layer of this application. …

c# nhibernate windows-services session-management unhaddins
Finding out Windows service's running process name .NET 1.1

We are using a badly written windows service, which will hang when we are trying to Stop it from code. …

c# windows-services process .net-1.1
Upgrade a Windows Service without Uninstalling

Currently I have to uninstall the old version of my service before I install the new version. I am pretty …

.net windows-services windows-installer
Service failed to start error 1920

On some machine we have the following error at service install: "Service ... failed to start. Verify that you have sufficient …

windows windows-services installation rights
Failed to install and start Windows services in WiX installer

I am creating an MSI package for installing and starting Windows services using WiX v3.8. The code as follows: <…

windows-services wix wix3.8
Clarification on Windows Service Recovery Actions Settings

I am looking at the recovery actions settings and there are a couple of things that I need clarified. If …

windows-services recovery
Calling a public method on windows service

I have a timer in a windows service (.NET C#). I need to be able to change the elapsed value …

c# .net windows-services timer public-method
TCP IP Listener in windows Service

I'm trying to create a windows service that needs to run in the background and listen for incoming traffic (a …

c# windows-services tcpclient tcplistener installutil