T
tshad
I have a small Windows Service program that just has a timer on it and it
built fine.
I try to install it using InstallUtil and I get the following message:
System.ComponentModel.Win32Exception: The account name is invalid or does
not exist, or the password is invalid for the account name specified
I am in the same folder my program is in (MyService.exe). I assume it has
to do with Logon Credentials.
What do I do to get this installed?
Here is the whole install problem with Path:
****************************************************************************
****************
C:\DotNetProjects\MyService\bin>installUtil
"c:\DotNetProjects\MyService\bin\MyS
ervice.exe"
Microsoft (R) .NET Framework Installation utility Version 1.1.4322.573
Copyright (C) Microsoft Corporation 1998-2002. All rights reserved.
Running a transacted installation.
Beginning the Install phase of the installation.
See the contents of the log file for the
c:\dotnetprojects\myservice\bin\myservi
ce.exe assembly's progress.
The file is located at c:\dotnetprojects\myservice\bin\myservice.InstallLog.
Installing assembly 'c:\dotnetprojects\myservice\bin\myservice.exe'.
Affected parameters are:
assemblypath = c:\dotnetprojects\myservice\bin\myservice.exe
logfile = c:\dotnetprojects\myservice\bin\myservice.InstallLog
Installing service Service1...
Creating EventLog source Service1 in log Application...
An exception occurred during the Install phase.
System.ComponentModel.Win32Exception: The account name is invalid or does
not ex
ist, or the password is invalid for the account name specified
The Rollback phase of the installation is beginning.
See the contents of the log file for the
c:\dotnetprojects\myservice\bin\myservi
ce.exe assembly's progress.
The file is located at c:\dotnetprojects\myservice\bin\myservice.InstallLog.
Rolling back assembly 'c:\dotnetprojects\myservice\bin\myservice.exe'.
Affected parameters are:
assemblypath = c:\dotnetprojects\myservice\bin\myservice.exe
logfile = c:\dotnetprojects\myservice\bin\myservice.InstallLog
Restoring event log to previous state for source Service1.
The Rollback phase completed successfully.
The transacted install has completed.
The installation failed, and the rollback has been performed.
C:\DotNetProjects\MyService\bin>
****************************************************************************
*************
Thanks,
Tom
built fine.
I try to install it using InstallUtil and I get the following message:
System.ComponentModel.Win32Exception: The account name is invalid or does
not exist, or the password is invalid for the account name specified
I am in the same folder my program is in (MyService.exe). I assume it has
to do with Logon Credentials.
What do I do to get this installed?
Here is the whole install problem with Path:
****************************************************************************
****************
C:\DotNetProjects\MyService\bin>installUtil
"c:\DotNetProjects\MyService\bin\MyS
ervice.exe"
Microsoft (R) .NET Framework Installation utility Version 1.1.4322.573
Copyright (C) Microsoft Corporation 1998-2002. All rights reserved.
Running a transacted installation.
Beginning the Install phase of the installation.
See the contents of the log file for the
c:\dotnetprojects\myservice\bin\myservi
ce.exe assembly's progress.
The file is located at c:\dotnetprojects\myservice\bin\myservice.InstallLog.
Installing assembly 'c:\dotnetprojects\myservice\bin\myservice.exe'.
Affected parameters are:
assemblypath = c:\dotnetprojects\myservice\bin\myservice.exe
logfile = c:\dotnetprojects\myservice\bin\myservice.InstallLog
Installing service Service1...
Creating EventLog source Service1 in log Application...
An exception occurred during the Install phase.
System.ComponentModel.Win32Exception: The account name is invalid or does
not ex
ist, or the password is invalid for the account name specified
The Rollback phase of the installation is beginning.
See the contents of the log file for the
c:\dotnetprojects\myservice\bin\myservi
ce.exe assembly's progress.
The file is located at c:\dotnetprojects\myservice\bin\myservice.InstallLog.
Rolling back assembly 'c:\dotnetprojects\myservice\bin\myservice.exe'.
Affected parameters are:
assemblypath = c:\dotnetprojects\myservice\bin\myservice.exe
logfile = c:\dotnetprojects\myservice\bin\myservice.InstallLog
Restoring event log to previous state for source Service1.
The Rollback phase completed successfully.
The transacted install has completed.
The installation failed, and the rollback has been performed.
C:\DotNetProjects\MyService\bin>
****************************************************************************
*************
Thanks,
Tom