Re: System.ComponentModel.Win32Exception

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Sijin Joseph (sijinNOSPAMdotnet_at_hotmail.com)
Date: 08/29/04


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



Relevant Pages

  • RE: cannot log on to user account following password change
    ... cannot log on to user account following password change ... I changed the username on the account in ... | on the sbs box. ...
    (microsoft.public.windows.server.sbs)
  • Re: logon failure
    ... MSSQLServer service after you change the username of administrator account. ... username for the SQL Server startup service account or the SQL Server Agent ... Microsoft SQL Server service account on the SQL Server host computer. ...
    (microsoft.public.windows.server.sbs)
  • Re: The server has rejected your login. Please verify that your userna
    ... If you're repeatedly prompted for your username and password, or if you're getting an 'invalid credentials' or 'web login required' error, we suggest that you verify the following settings in your mail client: ... If you're a transitioned Google Apps account user, you should use this link to clear your CAPTCHA. ... numbers as directed by gmail, I also know that I have my user name and ...
    (microsoft.public.windows.vista.mail)
  • RE: cannot log on to user account following password change
    ... home box with an existing local profile in conjunction with the sbs account. ... a local profile on the xp home box called Fiona Bavester had a username ...
    (microsoft.public.windows.server.sbs)
  • Re: Is it decnet problem or Thruway problem ?
    ... >> enable me to simulate the other user id's less priv. ... > the USERNAME and the PASSWORD. ... > Identifiers, Default Directory, and Login procedures as the user having ... > Owner Username UIC Account Privs Pri Directory ...
    (comp.os.vms)