Solved

CREATE AND INSTALL WINDOWS SERVICE ON REMOTE SERVER 2008

Posted on 2008-11-01
3
1,337 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 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

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

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

There are many software programs on offer that will claim to magically speed up your computer. The best advice I can give you is to avoid them like the plague, because they will often cause far more problems than they solve. Try some of these "do it…
A small collection of useful tips and tricks for Windows 10 users that I decided to write as a result of recent questions that were asked and answered at Experts Exchange. Two short video tutorials included. Enjoy..
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…
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…

623 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