Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

CREATE AND INSTALL WINDOWS SERVICE ON REMOTE SERVER 2008

Posted on 2008-11-01
3
Medium Priority
?
1,346 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 35

Accepted Solution

by:
torimar earned 2000 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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When asking a question in a forum or creating documentation, screenshots are vital tools that can convey a lot more information and save you and your reader a lot of time
This article provides a convenient collection of links to Microsoft provided Security Patches for operating systems that have reached their End of Life support cycle. Included operating systems covered by this article are Windows XP,  Windows Server…
Finding and deleting duplicate (picture) files can be a time consuming task. My wife and I, our three kids and their families all share one dilemma: Managing our pictures. Between desktops, laptops, phones, tablets, and cameras; over the last decade…
In this video, viewers are given an introduction to using the Windows 10 Snipping Tool, how to quickly locate it when it's needed and also how make it always available with a single click of a mouse button, by pinning it to the Desktop Task Bar. Int…

721 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