Solved

CREATE AND INSTALL WINDOWS SERVICE ON REMOTE SERVER 2008

Posted on 2008-11-01
3
1,304 Views
Last Modified: 2013-11-26
hi
i have successfully managed to build a service in VS2005, i can install it locally via the service setup (right click install) but do nothow how to set this up on a remote server. i have remote desktop connection and full access

i presume it has something to do with publish, this does create a exe, but when ran shows a windows wervice start failure message:
Cannot start service from the command line or a debugger, A windows service must first be inbstalled (using intallutil.exe) .......

i see that this is telling me what to do, but i dont unserstand it.

thanks in advance
0
Comment
Question by:glumlun
3 Comments
 
LVL 35

Accepted Solution

by:
torimar earned 500 total points
ID: 22868185
Try the following:

Transfer the executable containing your service to the remote machine, start a shell (command prompt), type:
installutil path\filename.exe
replacing path\filename by the full path and name of your executable.

Then type
net start
and check whether your service is already running. If not, type:
net start "name of your service"

If that gives you an error message about your service not being available, you will have to check for its exact name.
Do this either on your own local machine or by opening administration > services.

Hope this helps.
0
 
LVL 11

Author Closing Comment

by:glumlun
ID: 31512306
got there in the end, thanks for your help
0

Featured Post

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

If you get continual lockouts after changing your Active Directory password, there are several possible reasons.  Two of the most common are using other devices to access your email and stored passwords in the credential manager of windows.
Possible fixes for Windows 7 and Windows Server 2008 updating problem. Solutions mentioned are from Microsoft themselves. I started a case with them from our Microsoft Silver Partner option to open a case and get direct support from Microsoft. If s…
This Micro Tutorial will give you a basic overview of Windows DVD Burner through its features and interface. This will be demonstrated using Windows 7 operating system.
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…

746 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now