How do you install windows service?
Answers were Sorted based on User's Feedback
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 |
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 |
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 |
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 |
Explain in what order a destructors is called.
What is server infrastructure?
Why would anyone need to implement their own hashtable or linked list?
Which keyword you should use for class not to extend? Which keyword to be used for making the class accessible within the assembly only what are the authentication mode of ASP.NET How will you call a JavaScript function using code-behind? How will you define the Session Timeout? What are the methods to validate client-side whether the input is a correct Date format? You want to write a log when ASP.NET application starts. Which is the best place to write that peice of code? What are the page load events and what is there order? What is the difference between abstract class and interface? What are the differences between DataSet and DataReader? What are the two properties other than DataSource, which is required to populate the Drop Down Menu? What is difference between String and StringBuilder Classes? What are differences between Custom control and User control?
what is the challenging situation you faced in your career?
3 Answers Calsoft, HP, Satyam, Wipro,
What are the difference between overriding and overloading?
On what object is the transaction in ADO.NET focused on? a) The command object b) The DataSet object c) The Connection object d) The DataAdapter object
What is the difference between Server.Transfer and Response.Redirect? Why would you choose one over the other?
What is the postback property in asp.net?
How to count the number of objects present in a web page? How to count the number of radio buttons in a web page?
Can the unique key be null?
What is .netmodule and how is different from .dll and .exe
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)