C#.net windows service application
While insta开发者_如何学JAVAlling 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
You probably need to provide the domain name with the user name like domain\user
or refer to the local machine with .\user
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.
精彩评论