473,387 Members | 1,722 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

[ASAP] .net service under win2k

Hi
I developed a VB .net service under winxp and everything
(running, installation, etc.) works fine. Now, I wanted to
install it under win2k (with admin rights), but the
installation fails (german):

An exception occurred during the Install phase.
System.ComponentModel.Win32Exception: Der Kontenname ist
unzulässig oder nicht vorhanden, oder das Kennwort ist für
den angegebenen Kontennamen ungültig

(translation: Your service name is not acceptable, not
available or the password for the service is invalid.)

Can anyone help me?

Sam
Jul 21 '05 #1
1 1319
Under which account do you run your service?

If you do not use the "System" one, make sure the following is done in
ProjectInstaller.InitializeComponent:

//
// serviceProcessInstaller1
//
this.serviceProcessInstaller1.Account =
System.ServiceProcess.ServiceAccount.User;
this.serviceProcessInstaller1.Password = "YourPassword"; // or enter it at
installation time........
this.serviceProcessInstaller1.Username = Environment.MachineName +
@"\BV2004Service";

José

"Sam Johnson" <an*******@discussions.microsoft.com> a écrit dans le message
de news:01****************************@phx.gbl...
Hi
I developed a VB .net service under winxp and everything
(running, installation, etc.) works fine. Now, I wanted to
install it under win2k (with admin rights), but the
installation fails (german):

An exception occurred during the Install phase.
System.ComponentModel.Win32Exception: Der Kontenname ist
unzulässig oder nicht vorhanden, oder das Kennwort ist für
den angegebenen Kontennamen ungültig

(translation: Your service name is not acceptable, not
available or the password for the service is invalid.)

Can anyone help me?

Sam
Jul 21 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: noah | last post by:
Hi, I'm in the middle of writing a multi-user system with very critical timing issues. I've already implemented a cache and an API to access it (with appropriate locking for multithreaded access)....
3
by: Brad Jones | last post by:
Hello, I'm hoping someone can give me some help or guidance here. I'm not sure if this is even the best group to post to for this. Our OEM equipment's software architecture relies heavily on a...
6
by: Frank Meng | last post by:
Hi. Can system service identify current active user with .net? I need current active user's logon name from system service. I tried WindowsIdentity.GetCurrent().Name and it gave me "NT...
1
by: Dave | last post by:
I wrote a C# windows service and it will install on Win2K but won't start. I have code in it to write to the event log but it doesn't log anything. I developed it on WinXP with VS and it...
5
by: Andrew | last post by:
Hey all, Requesting help from the VB.Net gurus in here. I was given a task to write a Windows Service (VB.Net) that would run an external program, and if that program closed for any reason...
0
by: Jeff B. Jr | last post by:
Hi, I have created a service that is used to run scheduled events. In oreder to do this, it needs to be able to access mapped drives. When it completes, it sends out an e-mail with the success...
1
by: Sam Johnson | last post by:
Hi I developed a VB .net service under winxp and everything (running, installation, etc.) works fine. Now, I wanted to install it under win2k (with admin rights), but the installation fails...
1
by: Massimo Bonanni | last post by:
Hi, I try to implement ASAP protocol in my web service, but I find a very hard problem. I define my SOAP Header: public class Request : SoapHeader {
1
by: ERobishaw | last post by:
A windows service I've created runs on all boxes except Windows 2000 server. The windows service initializes (i.e., the Service:ServieBase class gets constructed), but the OnStart() method...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.