473,396 Members | 1,767 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Cannot install window service in C#

I am using C# with Visual Studio 2005 and have created a Windows
Service. This service can be installed using the command line utility
'installutil' and the service appears and runs correctly in the
services control panel. Hower if I create a setup and deployment
package in Visual Studio for the service, although the installation
package appears to run successfully when invoked, the service is not
installed in the services control panel and therefore cannot be run

May 29 '06 #1
1 1327
Finally, I have found the fix for this issue...
Try to add product installer using the Add Installer link in the
Properties window, beneath the list of properties. Select the
serviceProcessInstaller properties and set the account type as
"LocalSystem"

For more information, please refer
http://msdn.microsoft.com/library/de...pplication.asp

May 29 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Jane | last post by:
Hello, I have a windows service applicat written in VB.net. Everything works fine if I install it by using InstallUtil.exe in Command Propt window on both development and target machine. But If...
4
by: Bill Murray | last post by:
I am using VS.NET 2003 and trying to deploy a service program(c++) to a Windows 2000 Server system. I have also written a small DLL (USSsetup.dll) that is used to start/stop the service using a...
3
by: m00nm0nkey | last post by:
Hello. I am able to succesfully build and install my VB.Net Windows Service, using the Command Line InstallUtil #EXE PATH#. However, when I press start in MMC, to start the service, I get this...
2
by: Harshad | last post by:
Two questions. 1) I followed Walkthrough of Win Service App. At the end, when I run Setup it complains about incorrect user and/or password. Where does it look for userid? I have logged in as...
3
by: Jeremy S. | last post by:
On my dev machine (XP/Pro with VS.NET 2003) I have been developing a Windows Service and installing it on the local machine by opening the Visual Studio Command Prompt and then executing . Now I...
0
by: Andrew | last post by:
Hi, When I click on File > New > New Project on the VS.NET 2003 menu, I get the normal window asking me what type of project I would like to create. After choosing the ASP.NET Web Application, I...
6
by: JonSteng | last post by:
..Net Visual Studio Professional 2003 Version 7.1.3088 ..Net Framework 1.1 SP1 Version 1.1.4322 IIS 5.1 Windows XP Professional SP2 Micron T3000 Laptop (1.5 GHz; 1GB RAM; 40GB HD with 17GB Free)...
4
by: kkt49 | last post by:
# vim: et sw=4 ts=8 sts from wxPython.wx import * import sys, os, time import pywintypes import win32serviceutil import win32service import win32event import win32process
0
by: Ikado | last post by:
Hi everyone, I am new to PostgreSQL and trying to install it, My login account belongs to "Administrator Group" But I tried after creating newone as User Account(limited).. First i downloaded; ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.