How do you install windows service?

Answers were Sorted based on User's Feedback



How do you install windows service?..

Answer / nitya

hi..
First u have to create Windows Service..
For install Windows Service , u have to use one Command

first Build Windows Service..
then use this command..
installutil.exe <your service name.exe>
installutil.exe/u <your service name.exe> -->For uninstall

u have to use this command in visual studio 2005 -> visual
studio command Prompt -> write this above command..

Go in Particular path where u create Windows Service then
go to Bin -->Debug --> then implement this above Command..

try this..

Is This Answer Correct ?    2 Yes 0 No

How do you install windows service?..

Answer / smriti

Go Through,It will help u guys alot

http://www.developerfusion.co.uk/show/3441/2/

Is This Answer Correct ?    1 Yes 0 No

How do you install windows service?..

Answer / n.v.s.prasad

I Think,For Installing Windoes Service
i)First Create new Project and in Right Side Expand Visual
C# and select windoes service.
ii)Give name to your service.
iii)Write Your code IN OnStart Event.
iv)Add New Project To Your Solution and select 'setup'
project which is in other project templates
v)and set Project output type to primary output which is in
FileSystem(Service Setup).
vi)Right click Your service Setup in solution Explorer And
click install then your service is install in your system
vii)Go to controlpanel And click Administrtivetools(make
sure u have login as a Administrator (or) you are part of
Administrative Group) and then click services.
viii)Go to your service name and right click it and click
start then your service will run

Is This Answer Correct ?    1 Yes 0 No

How do you install windows service?..

Answer / sitakanta

Open the Visual Studio .Net Command Prompt and give the path of application
for example C:\bin\Debug> and then type InstallUtil Service.exe
To uninstall, InstallUtil /u Service.exe

After Installation ,right click My Computer and Select 'Manage' and Select 'Service and Applications' and in that Select 'Services'
Select 'Service' and start the Service.
IF No ERROR in your COde, It will work !

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More ASP.NET Interview Questions

What is difference between mvc and asp.net? : Asp.Net MVC

0 Answers  


List the types of authentication supported by asp.net?

0 Answers  


What are the server controls in asp.net?

0 Answers  


What are the event handlers that can be included in the Global.asax file?

0 Answers   MindCracker,


What is user control in asp.net?

0 Answers  






What is http post and http get?

0 Answers  


I have a method written in WebForm (means .aspx page) & now I want to call this method in WebUserControl (means .ascx page) what should I have to do?

1 Answers   Patni,


4. How do you plan to achieve these goals?

7 Answers   Burger King, Latest, Swatz Oils,


A brief difference between Session and Cookies in asp.net

5 Answers   HCL, HCL Comnet,


You have two buttons in web form and i clicked on one of the button, so how do i find which button i've clicked on the form in my page load?

15 Answers   INDUS,


Describe a bubbled event and how it is used ?

0 Answers   Siebel,


Why do we need asp.net?

0 Answers  


Categories