An exception occurred during the Install phase.
System.ComponentModel.Win32Exception: The account name is invalid or does
not exist, or the password is invalid for the account name specified
This error occurs regardless of logging in as Administrator or not and
seeing that InstallUtil does not have options for user and password I am at
a loss. Any help would be appreciated.
Thanks!
Matt
Check the values for both the Username and Password properties of your
ServiceProcessInstaller instance. If the ServiceProcessInstaller.Account is
set to User,
make sure the user you specify in the Username does exist in the system and
the Password is correct. If this does not work, check the the Local
Security Policy under Administrative Tools to see if the user has "Log on
as a service" right.
Alternatively, you can set the ServiceProcessInstaller.Account to
ServiceAccount.LocalSystem to run this service under LocalSystem:
Hope this helps.
Regards,
Felix Wu
=============
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
>From: "Matt Standing" <sta...@navitaire.com>
>Subject: InstallUtil.exe error: The account name is invalid or does not
exist, or the password is invalid...
>Date: Thu, 5 Dec 2002 10:38:42 -0600
>Lines: 16
>X-Priority: 3
>X-MSMail-Priority: Normal
>X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
>X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
>Message-ID: <uZyWlyHnCHA.2188@TK2MSFTNGP09>
>Newsgroups: microsoft.public.dotnet.framework
>NNTP-Posting-Host: 192.216.212.193
>Path: cpmsftngxa09!cpmsftngxa10!tkmsftngp01!TK2MSFTNGP09
>Xref: cpmsftngxa09 microsoft.public.dotnet.framework:31867
>X-Tomcat-NG: microsoft.public.dotnet.framework