473,398 Members | 2,403 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,398 software developers and data experts.

Service install problem

Hi

I have a vb.net service app which I have set to run as user. When I try to
install the service via InstallUtil, I provide user/pass for the
administrator but the service fails to install. I have received the
following two messages on two separate occasions;

An exception occurred during the Install phase.
System.ComponentModel.Win32Exception: No mapping between account names and
security IDs was done

and

An exception occurred during the Install phase.
System.ComponentModel.Win32Exception: The account name is invalid or does
not exist, or the password is invalid for the account name specified

What is the problem and how can I solve it? The reason I am trying to
install the service as administrator is that the service can not open an
access db from a shared network drive if the service runs as LocalSystem.

Thanks

Regards

Nov 21 '05 #1
2 6060
Hi,

This is the same as my requirement and I am also facing the same problem. Can anyone please give some idea how to solve this?

Thanks & Regards,
Joydeep
Hi

I have a vb.net service app which I have set to run as user. When I try to
install the service via InstallUtil, I provide user/pass for the
administrator but the service fails to install. I have received the
following two messages on two separate occasions;

An exception occurred during the Install phase.
System.ComponentModel.Win32Exception: No mapping between account names and
security IDs was done

and

An exception occurred during the Install phase.
System.ComponentModel.Win32Exception: The account name is invalid or does
not exist, or the password is invalid for the account name specified

What is the problem and how can I solve it? The reason I am trying to
install the service as administrator is that the service can not open an
access db from a shared network drive if the service runs as LocalSystem.

Thanks

Regards



User submitted from AEWNET (http://www.aewnet.com/)
Nov 21 '05 #2
I would suggest that you write your service to call another application that
actually does the work: a "Worker Process" if you will. Then set your
service to run as local system account. All the service will be doing is
starting an instance of the worker process, and the worker process will be
accessing your database across the network.
"Guest" <Guest@aew_nospam.com> wrote in message
news:uk**************@tk2msftngp13.phx.gbl...
Hi,

This is the same as my requirement and I am also facing the same problem.
Can anyone please give some idea how to solve this?

Thanks & Regards,
Joydeep
Hi

I have a vb.net service app which I have set to run as user. When I try
to
install the service via InstallUtil, I provide user/pass for the
administrator but the service fails to install. I have received the
following two messages on two separate occasions;

An exception occurred during the Install phase.
System.ComponentModel.Win32Exception: No mapping between account names
and
security IDs was done

and

An exception occurred during the Install phase.
System.ComponentModel.Win32Exception: The account name is invalid or does
not exist, or the password is invalid for the account name specified

What is the problem and how can I solve it? The reason I am trying to
install the service as administrator is that the service can not open an
access db from a shared network drive if the service runs as LocalSystem.

Thanks

Regards



User submitted from AEWNET (http://www.aewnet.com/)

Nov 21 '05 #3

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

Similar topics

0
by: chriss | last post by:
Hello everybody! I'm very bad in English but I'm going to try to explain my problem. I have a python program and this program is a service. chronologically: 1. I install my program like...
2
by: jmlynn | last post by:
Help! I installed MySQL 4.0.20C and it works if I started it with mysqld --console However, if I do the following: mysqld --install net start MySQL
4
by: DraguVaso | last post by:
Hi, I developped a Windows Service in VB.NET (2005). I need to have it installed two times on 1 machine. When I want to install it a second time, the setup doesn't allow me to install it again...
7
by: Ross Presser | last post by:
OK, I've been researching this problem and can't find a definitive answer yet. The situation is one that seems to have come up a few times to different folks. I am writing an application that...
0
by: poi | last post by:
Running the code below, I get the error Cannot start service from the command line opr debugger. A Windows Service must first be installed (using installutil.exe) and then started with the...
2
by: Fan Wang | last post by:
Hi All, I wrote a windows service with C# as below. But I can't install it with installutil.exe. I got an error message " Exception occurred while initializing the installation:...
5
by: SiD` | last post by:
when starting a windows service writte in vb.net, a messagebox appears: cannot start service from the command line or a debugger. A windows service must first be installed using installutil.exe ...
4
by: SQLScott | last post by:
My esteemed VB.Net gurus, I posted this question a week or so ago and recieved 1 response that helped me somewhat but really did not solve the problem (but I do appreciate the response). I...
5
by: dm3281 | last post by:
I'm really starting to hate writing services -- or trying to, anyway. Why do I need to rename my project to the service name? Why do I need to set the "ServiceName" property to my service name?...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.