Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > C# and C > C# 1.0 > BOOK: Professional C#, 2nd and 3rd Editions
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
BOOK: Professional C#, 2nd and 3rd Editions
This is the forum to discuss the Wrox book Professional C#, 3rd Edition by Simon Robinson, Christian Nagel, Karli Watson, Jay Glynn, Morgan Skinner, Bill Evjen; ISBN: 9780764557590
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional C#, 2nd and 3rd Editions 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
 
 
Thread Tools Display Modes
  #1 (permalink)  
Old April 13th, 2004, 10:38 AM
Registered User
 
Join Date: Apr 2004
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default WinServices Installer

Using the downloaded code as well as my own code written from the example I get an error when I use installutil.exe to try to install the service. After the "Set Service Login" dialog is displayed I enter the user name and password and click OK. I then get an error in the command window "An exception occurred during the Install phase. System.InvalidOperationException: User has canceled installation of services in
executable c:\dev\wrox downloaded code\pro c# 2\winservices\quoteservice\obj\debug\quoteservice. exe." The username can be used as the login for other services accessed through the services MMC.

Does anyone have any suggestions? Thanks in advance.

Russ
  #2 (permalink)  
Old June 15th, 2004, 10:20 PM
Registered User
 
Join Date: Jun 2004
Location: , , .
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi,

I have some problems with this example also. Plz check my topic "Issues about PerformanceCount er(Chapter 22)".
Referring ur issue, try one of two ways:
1) using [MachineName]\[ur login name] if ur count is the administrator, and run this installation on local machine;
2) set ServiceProcessInstaller.Account as LocalSystem;
I hope one of them can work, but u may still occur the problem which I mentioned in my topic. Good luck!

 


Thread Tools
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
Creating an Installer Kedinik C# 0 June 7th, 2008 04:47 PM
Run an installer anubisascends Beginning PHP 0 June 24th, 2007 01:35 PM
Multi Installer VTfletch Need help with your homework? 0 December 18th, 2006 01:29 PM
WinServices - Chapter 32 Pro C# 3rd Edition CSharpNewbie BOOK: Professional C#, 2nd and 3rd Editions 2 March 3rd, 2005 04:15 PM
Installer Question mruthven Pro VB.NET 2002/2003 0 September 17th, 2003 12:28 PM



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


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