Re: System.ComponentModel.Win32Exception
From: Sijin Joseph (sijinNOSPAMdotnet_at_hotmail.com)
Date: 08/29/04
- Next message: Sijin Joseph: "Re: Control an application from another one on the same machine"
- Previous message: Sijin Joseph: "Re: Listbox Drag & Drop"
- In reply to: Rhonda Fischer: "System.ComponentModel.Win32Exception"
- Messages sorted by: [ date ] [ thread ]
Date: Sun, 29 Aug 2004 16:11:50 +0530
Make sure that ServiceProcessInstaller.Account property is set to a
valid value and that the ServiceProcessInstaller.Username and Password
properties are set to the correct username and password in case you are
using a user account. Note that if your account is a domain acount then
you need to put the domain name is front of the username
For e.g. if user is Bill in Domain Foo then Username should be set to
"Foo\Bill"
Sijin Joseph
http://www.indiangeek.net
http://weblogs.asp.net/sjoseph
Rhonda Fischer wrote:
> Hello,
>
> I am currently creating a windows service with .Net V1.1.4322, using a text
> book example. When I attempt to 'installUtil' I experience the errmsg:
>
> System.ComponentModel.Win32Exception: The account name is invalid or
> does not exist, or password invalid for account name specified.
>
> This error msg may not reflect the service I am trying to create, it may be
> outside of this problem, but I'm not sure where to start looking to resolve
> this problem. I have done some searching on the internet and still nothing.
>
> Any suggestions would be greatly appreciated.
>
> Thank you kindly
> Rhonda
- Next message: Sijin Joseph: "Re: Control an application from another one on the same machine"
- Previous message: Sijin Joseph: "Re: Listbox Drag & Drop"
- In reply to: Rhonda Fischer: "System.ComponentModel.Win32Exception"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|