473,326 Members | 2,196 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,326 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 1314
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: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

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.