Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > .NET > Other .NET > General .NET
Password Reminder
Register
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
General .NET For general discussion of MICROSOFT .NET topics that don't fall within any of the other .NET forum subcategories or .NET language forums.  If your question is specific to a language (C# or Visual Basic) or type of application (Windows Forms or ASP.Net) try an applicable forum category. ** PLEASE BE SPECIFIC WITH YOUR QUESTION ** When posting here, provide details regarding the Microsoft .NET language you are using and/or what type of application (Windows/Web Forms, etc) you are working in, if applicable to the question. This will help others answer the question without having to ask.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the General .NET section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old January 8th, 2007, 11:12 PM
Authorized User
 
Join Date: Dec 2006
Location: , , Singapore.
Posts: 26
Thanks: 0
Thanked 0 Times in 0 Posts
Default Troubleshoot in installing windows service

Hi,

   somebody please help me out............
actually i wrote my windows service and there are build errors.
then i opened the command prompt of VS1.1 and tried to install UTIL Asmos_service.exe

I got the result as Install has completed.but the service is not found in the computer management window!!!!!

What would be the problem???????

Karthik
[Nothing is impossible]
__________________
Karthik
[Nothing is impossible]
Reply With Quote
  #2 (permalink)  
Old January 8th, 2007, 11:17 PM
Authorized User
 
Join Date: Dec 2006
Location: , , Singapore.
Posts: 26
Thanks: 0
Thanked 0 Times in 0 Posts
Default

there are NO build errors



Karthik
[Nothing is impossible]
Reply With Quote
  #3 (permalink)  
Old January 9th, 2007, 02:10 AM
Authorized User
 
Join Date: Feb 2006
Location: Bangalore, Karnataka, India.
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to karthiklsimha
Default

Hi Karthik,

Once you create a windows service project, for installing the windows service you need to add installer classes (for installutil tool to install the service). After adding installer classe to your windows service project, you would be able to find projectinstaller.vb in your solution explorer. open projectinstaller.vb, in designer view you will be able to find two components serviceprocessinstaller and serviceinstaller. Change the account property of serviceprocessinstaller to "LocalService". Change the ServiceName property of the serviceinstaller to the one of your choice. Build the project and try to install.



Regards,
Karthik Simha
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Installing windows service in remote machine dotnetprogrammer VS.NET 2002/2003 1 July 13th, 2007 01:17 PM
Accessing Windows service from a windows app sajid08 C# 1 October 6th, 2006 10:25 AM
running an .exe API without installing a service taunon C# 0 June 10th, 2006 09:37 AM
Installing Windows Service ttroisi Pro VB.NET 2002/2003 0 June 9th, 2005 09:43 AM
Installing windows service avats General .NET 1 June 9th, 2005 09:19 AM



All times are GMT -4. The time now is 04:30 PM.


Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.