Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > .NET > .NET 1.0 and Visual Studio.NET > VS.NET 2002/2003
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
VS.NET 2002/2003 Discussions about the Visual Studio.NET programming environment, the 2002 (1.0) and 2003 (1.1). ** Please don't post code questions here ** For issues specific to a particular language in .NET, please see the other forum categories.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VS.NET 2002/2003 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
Closed Thread
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old August 5th, 2003, 04:22 PM
Registered User
 
Join Date: Aug 2003
Location: , , .
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Starting Windows Services Programatically

Hello,
. I developed a Windows Service that allows a user to display all possible IP addresses for the machine on which it is running. I want to start the Windows service programatically using ServiceController and the code lets me PAUSE, CONTINUE and STOP the service. Everytime I want to START the service using the form START button, it gives me an error stating
"CANNOT START XYZ SERVICE ON MACHINE '.'"
It also throws a system exception - 1073741819 and a System.ComponentModel.Win32Exception - RPC call failed exception.
I have looked online for all kinds of materials that would allow me to solve this problem, but alas there is none!
I would highly appreciate your help on this.
Regards



Closed Thread


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
Need help in starting Windows Project g_vamsi_krish Visual Studio 2005 0 January 3rd, 2007 01:16 PM
windows services marclena General .NET 0 June 30th, 2004 11:22 AM
Windows Services rodmcleay General .NET 1 June 29th, 2004 01:34 AM
Starting Windows Services Thru GUI amarwadi BOOK: Professional C#, 2nd and 3rd Editions 0 August 5th, 2003 04:21 PM



All times are GMT -4. The time now is 10:28 PM.


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