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

invalid user / password on installing the windows services.

Sam
Hi everyone,

I create a windows service and its installer in VS Net.
but when I try to install it on command line, "installutil myservice.exe" ,I
kept receiving the error message:

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

I already try administrator and my own account, however no one works.

any clue????

Nov 22 '05 #1
6 5931
Zee
Why don't u use SYSTEM Account?
"Sam" <Sa*@directron.com> дÈëÏûÏ¢
news:ut**************@TK2MSFTNGP12.phx.gbl...
Hi everyone,

I create a windows service and its installer in VS Net.
but when I try to install it on command line, "installutil myservice.exe" ,I kept receiving the error message:

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

I already try administrator and my own account, however no one works.

any clue????

Nov 22 '05 #2
Zee
Why don't u use SYSTEM Account?
"Sam" <Sa*@directron.com> дÈëÏûÏ¢
news:ut**************@TK2MSFTNGP12.phx.gbl...
Hi everyone,

I create a windows service and its installer in VS Net.
but when I try to install it on command line, "installutil myservice.exe" ,I kept receiving the error message:

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

I already try administrator and my own account, however no one works.

any clue????

Nov 22 '05 #3
Zee
Why don't u use SYSTEM Account?
"Sam" <Sa*@directron.com> дÈëÏûÏ¢
news:ut**************@TK2MSFTNGP12.phx.gbl...
Hi everyone,

I create a windows service and its installer in VS Net.
but when I try to install it on command line, "installutil myservice.exe" ,I kept receiving the error message:

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

I already try administrator and my own account, however no one works.

any clue????

Nov 22 '05 #4
yup - principle of least privilege and all that - suggest you try
running as the LocalService account, before moving up to LocalSystem -
though if its not running under a machine administrator account,
something else might be amiss - i take it all works fine on your
development machine...?

r.

"Zee" <cn***@msn.com> wrote in message news:<Oq**************@TK2MSFTNGP12.phx.gbl>...
Why don't u use SYSTEM Account?

Nov 22 '05 #5
yup - principle of least privilege and all that - suggest you try
running as the LocalService account, before moving up to LocalSystem -
though if its not running under a machine administrator account,
something else might be amiss - i take it all works fine on your
development machine...?

r.

"Zee" <cn***@msn.com> wrote in message news:<Oq**************@TK2MSFTNGP12.phx.gbl>...
Why don't u use SYSTEM Account?

Nov 22 '05 #6
yup - principle of least privilege and all that - suggest you try
running as the LocalService account, before moving up to LocalSystem -
though if its not running under a machine administrator account,
something else might be amiss - i take it all works fine on your
development machine...?

r.

"Zee" <cn***@msn.com> wrote in message news:<Oq**************@TK2MSFTNGP12.phx.gbl>...
Why don't u use SYSTEM Account?

Nov 22 '05 #7

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

Similar topics

2
by: Sam | last post by:
Hi everyone, I create a windows service and its installer in VS Net. but when I try to install it on command line, "installutil myservice.exe" ,I kept receiving the error message: ...
1
by: Jeevan | last post by:
Hi, I am creating a Window Service in C-Sharp. The Window Service has a reference to an OCX file created in VC++. In OnStart method I have created an instance of the class, of the OCX file and...
7
by: Dica | last post by:
i've used the sample code from msdn to create an encyption/decryption assembly as found here: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnnetsec/html/SecNetHT10.asp i'm...
4
by: Trevor Andrew | last post by:
Hi There, Hopefully this isn't too difficult a question to express here. I have a 3 tier application. 1. Presentation Tier: ASP.NET web application. 2. Middle Tier: ASP.NET Web Services that...
4
by: James | last post by:
I have a VB windows forms application that accesses a Microsoft Access database that has been secured using user-level security. The application is being deployed using No-Touch deployment. The...
0
by: James | last post by:
I have a VB windows forms application that accesses a Microsoft Access database that has been secured using user-level security. The application is being deployed using No-Touch deployment. The...
27
by: vipleo | last post by:
I am having some issues, when I try to launch another process using Process.Start(ProcessStartInfo psi) on win xp sp2 box (Other versions of xp have no issue). Here is the detail. Main app...
18
by: Arthur | last post by:
Hi All, I would like to get the name of the user given their networkID, is this something Active Directory would be useful for?(For intranet users) If so, can you please point me to some sample...
9
by: mark4asp | last post by:
Why is this page invalid? Pasted into http://validator.w3.org/ I'm told that the page is invalid. Why? It flags problems with the <bodyand </htmltags but I can't see why. Is the W3C validator...
8
by: ajos | last post by:
hi frnds, im trying to convert my servlets database configuration from ms access to mysql database.however im getting some error like no driver found exception. to verify this error ive...
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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:
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
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
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
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.