Windows Service Running on a Server
The basis of my services is to act as a host for a small message ring on
Currently i have a working service that i wish to run on a Server. After
installing this service on the server i find that a person needs to be logged
into the server for the windows service to run. This is not my desire. I
wish this service to run all the time.
Can anyone help?
Re: Windows Service Running on a Server
You need to compile an Installer class (a class derived from
System.Configuration.Install.Installer) with your windows service project.
This installer will have components where you can specify that the service
runs as localsystem (that way logons are not required) and the startup is
automatic (it starts when then machine boots into windows).
The best guide is the Visual Studio .NET documentation on setup and
deployment of windows services. They have a step by step guide for setting
them up properly.
I would have more info, but this mostly from memory. A year ago when I first
started building windows services, I followed the step by step guide
(windows services are not as straight forward as other .NET application
types) for building and deploying the services and never went wrong.
"Stephen" <firstname.lastname@example.org> wrote in message
> Hi all,
> The basis of my services is to act as a host for a small message ring on
> a network.
> Currently i have a working service that i wish to run on a Server. After
> installing this service on the server i find that a person needs to be
> into the server for the windows service to run. This is not my desire. I
> wish this service to run all the time.
> Can anyone help?
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL