While installing the windows service application i was prompted for set service login with username and password to be entered if i enter my windows login username and password or any other password to set the login i get the error 1001 that invalid username and password and sometimes no mapping between account name and password
2 Answers
2
votes
0
votes
To bypass the prompt completely, I do the following:
- Open the design view of the ProjectInstaller.
- Select the serviceProcessInstaller and press F4 to open its properties.
- Change the Account property to LocalSystem.
You can view a description of LocalSystem and the other options for that property on MSDN if you search for "ServiceAccount Enumeration". The ServiceAccount enum is part of the System.ServiceProcess namespace.