I have developed a windows service using C# and Visual Studio 2008. I have Windows XP SP2 installed on my machine. When I try to install the service using the installutil tool, after entering the username and password, I get the following error.
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.
But the user does exist. I had created the user through control panel → User accounts → Create new account.
The command I used for installing the service was:
installutil /i TestService.exe
How can I resolve the issue?