Error 1001 in my Windows Service app setup project -


I am trying to install my Windows Service app using the Visual Studio 2008 setup and deployment project. I have created a user account whose "run as a service" is correct and the service process installer is set. Account for the system. service of process. Service account The user and the username and password of the user that I created earlier

  spInstaller.Account = System.ServiceProcess.ServiceAccount.User; SpInstaller.Username = "USER NAME"; SpInstaller.Password = "PASSWORD"; SInstaller.ServiceName = "service name"; SInstaller.StartType = System.ServiceProcess.ServiceStartMode.Automatic;  

But during the setup process, I get the following error:

Error: 1001. The account name is invalid or does not exist, or the password specified account Name is invalid for

Any idea why I get this error and how can I fix this? Thank you.

Are you specifying a domain for your username, of course If you are called fast by the machine then you have tried

  spInstaller.UserName = "FASTCAR \\ UserName";  

Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -