Solved

CREATE AND INSTALL WINDOWS SERVICE ON REMOTE SERVER 2008

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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
winscp where are logs stored 3 34
Password recovery software 4 25
Following an example - Why do I need to click Save button twice? 3 25
Thoughts on PC Doctor 11 45
Today, still in the boom of Apple, PC's and products, nearly 50% of the computer users use Windows as graphical operating systems. If you are among those users who love windows, but are grappling to keep the system's hard drive optimized, then you s…
In this article, I will show you HOW TO: Install VMware Tools for Windows on a VMware Windows virtual machine on a VMware vSphere Hypervisor 6.5 (ESXi 6.5) Host Server, using the VMware Host Client. The virtual machine has Windows Server 2016 instal…
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…
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…

786 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