Try LocalSystem -----Original Message----- From: Unmoderated discussion of advanced .NET topics. [mailto:[EMAIL PROTECTED] On Behalf Of Clark, Michael (OFM) Sent: Friday, February 04, 2005 1:21 PM To: ADVANCED-DOTNET@DISCUSS.DEVELOP.COM Subject: [ADVANCED-DOTNET] Installing a Windows Service
I'm experimenting with creating a Windows Service using VS.NET, and all seems to go well until I attempt to install the service. I was following the directions on creating a Windows service application found on MSDN at: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vbcon/html/ vbconintroductiontontserviceapplications.asp The installation process goes south and pops up a message saying: "The account name is invalid or does not exist, or the password is invalid for the account name specified" I've set the serviceProcessInstaller.Account to LocalService as specified in the instructions, so presumably, as the page says, "This will cause the service to be installed and to run on a local service account". But what local service account? No indication here that a username/password must be given, but I've learned that MSDN is not infallible, so ... Any suggestions? =================================== This list is hosted by DevelopMentorR http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com =================================== This list is hosted by DevelopMentorŪ http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com