DotNetNewsgroup.com  
web access to complete list of Microsoft.NET newsgroups
   home   |   control panel login   |   archive  |  
 
  carried group
academic
adonet
aspnet
aspnet.announcements
aspnet.buildingcontrols
aspnet.caching
aspnet.datagridcontrol
aspnet.mobile
aspnet.security
aspnet.webcontrols
aspnet.webservices
assignment_manager
datatools
dotnet.distributed_apps
dotnet.general
dotnet.myservices
dotnet.nternationalization
dotnet.scripting
dotnet.security
dotnet.vjsharp
dotnet.vsa
dotnet.xml
dotnetfaqs
framework
framework.clr
framework.compactframework
framework.component_services
framework.controls
framework.databinding
framework.drawing
framework.enhancements
framework.interop
framework.odbcnet
framework.performance
framework.remoting
framework.sdk
framework.setup
framework.webservices
framework.windowsforms
framework.wmi
frwk.windowsforms.designtime
lang.csharp
lang.jscript
lang.vb
lang.vb.controls
lang.vb.data
lang.vb.upgrade
lang.vc
lang.vc.libraries
  
 
start date: Mon, 13 Aug 2007 09:40:01 -0700,    posted on: microsoft.public.dotnet.framework        back       

Thread Index
  1    Andrew
          2    Phil Wilson


Error when installing windows service.   
Hello, friends,

After running cmd, trying to install a windows service written in c#.net 
2005 with User account (specified in serviceProcessInstaller) by typing

installutil myWindowsService.exe

I was expecting being prompted to enter user name and password, but, 
instead, I got:

System.ComponentModel.Win32Exception: The account name is invalid or does 
not exist, or the password is invalid for the account name specified

Where should I specify user name and password?

Thanks a lot.
Date:Mon, 13 Aug 2007 09:40:01 -0700   Author:  

Re: Error when installing windows service.   
You'll get prompted if ServiceProcessInstaller.Account is ServiceAccount 
User and UserName and Password are not set, but it looks like you've set 
values already for ServiceProcessInstaller UserName or Password.

-- 
Phil Wilson
[MVP Windows Installer]


"Andrew"  wrote in message 
news:A5B1DB57-6A59-43C6-BD50-41FF4A31C639@microsoft.com...

> Hello, friends,
>
> After running cmd, trying to install a windows service written in c#.net
> 2005 with User account (specified in serviceProcessInstaller) by typing
>
> installutil myWindowsService.exe
>
> I was expecting being prompted to enter user name and password, but,
> instead, I got:
>
> System.ComponentModel.Win32Exception: The account name is invalid or does
> not exist, or the password is invalid for the account name specified
>
> Where should I specify user name and password?
>
> Thanks a lot.
>
> 
Date:Mon, 13 Aug 2007 16:13:19 -0700   Author:  

Google
 
Web dotnetnewsgroup.com


COPYRIGHT ?2005, EUROFRONT WORLDWIDE LTD., ALL RIGHT RESERVE  |   Contact us