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

Deploying a Service in Windows 2K

Hi. I am learning how to write services in C#. I wrote at and made the
deployment package but when I try to install by running the .msi file that I
created it begins the setup just fine but then it asks me for a user name and
password (which I am assuming a Service needs to use when it starts). I give
the administrator name and password but then it says that it si invalid. I
have checked it many times but it still does the same thing. I have also
confirmed that the user is also an administrator but it still says I entered
an invalid username and password and won't continue with the installation.
Can anyone help me please? Thank you!
Jul 21 '05 #1
2 1173
If you want the Service to run under the local system account, set the
ServiceProcessInstaller Account property to a ServiceAccount value that's
not User (which is probably why it's prompting you). Entering a valid user
account there should work fine, you might have a domain issue, and if so,
using <machine name>\Administrator and the valid password might work.
--
Phil Wilson
[Microsoft MVP-Windows Installer]
Definitive Guide to Windows Installer
http://apress.com/book/bookDisplay.html?bID=280

"skbergam" <sk******@discussions.microsoft.com> wrote in message
news:F3**********************************@microsof t.com...
Hi. I am learning how to write services in C#. I wrote at and made the
deployment package but when I try to install by running the .msi file that
I
created it begins the setup just fine but then it asks me for a user name
and
password (which I am assuming a Service needs to use when it starts). I
give
the administrator name and password but then it says that it si invalid. I
have checked it many times but it still does the same thing. I have also
confirmed that the user is also an administrator but it still says I
entered
an invalid username and password and won't continue with the installation.
Can anyone help me please? Thank you!

Jul 21 '05 #2
Thanks Phil. I love you. J/K
-----Original Message-----
If you want the Service to run under the local system account, set theServiceProcessInstaller Account property to a ServiceAccount value that'snot User (which is probably why it's prompting you). Entering a valid useraccount there should work fine, you might have a domain issue, and if so,using <machine name>\Administrator and the valid password might work.--
Phil Wilson
[Microsoft MVP-Windows Installer]
Definitive Guide to Windows Installer
http://apress.com/book/bookDisplay.html?bID=280

"skbergam" <sk******@discussions.microsoft.com> wrote in messagenews:F33194BD-481A-43AB-85D5-

A3**********@microsoft.com...
Hi. I am learning how to write services in C#. I wrote at and made the deployment package but when I try to install by running the .msi file that I
created it begins the setup just fine but then it asks me for a user name and
password (which I am assuming a Service needs to use when it starts). I give
the administrator name and password but then it says that it si invalid. I have checked it many times but it still does the same thing. I have also confirmed that the user is also an administrator but it still says I entered
an invalid username and password and won't continue with the installation. Can anyone help me please? Thank you!

.

Jul 21 '05 #3

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

Similar topics

1
by: Terry H | last post by:
Hi I am deploying a winforms app via the windows installer and a VS.Net 2003 setup and deploymnet project. At the moment, I am adding launch conditions for the .Net Framework 1.1 and MDAC 2.7...
2
by: Kalem | last post by:
Hi all. I've created a web service that runs fine on my development PC running W2K. The service is consumed by an ASPX page. (written using vb.net). I can deploy the webservice without any issues...
3
by: Rachel | last post by:
Hi, I am using the data access application block successfully in our development environment, however when I deploy to our testing server as Private Assemblies I keep getting the following ...
1
by: Simon Verona | last post by:
Hope somebody can help. I have a web service written in vb.net which works fine localling on my Windows XP Pro development machine without a problem. I have deployed in onto a Windows Server...
3
by: Joe | last post by:
Anyone with tips, suggestions, or web links about deploying a Windows Service? How to get it installed, configured correctly, etc... -- Using Opera's revolutionary e-mail client:...
8
by: Afshar | last post by:
Hi Group, Please help ending my Nightmare! There's a Windows Service written in VC++ and I have an ASP.NET project that uses this sevice as a COM library. It just works fine in VS Internal Web...
3
by: Christian Nunciato | last post by:
Hi there: I'm a veteran to ASP.NET 1.1, but new to 2.0, and I'm using VS 2005. When I run the app on my local machine, using the built-in Web server, I have no problems, but deploying the site...
1
by: dfererer | last post by:
Dear all, I want to install and run ClickOnce Deploying application under a Windows Service,I have make the service starting the application successfully(user API...
0
by: JM | last post by:
I have created simple windows service which just write message to event log when it starts and stops. I am able to install it succesfully using: installutil <service_file.exe>, where...
3
by: =?Utf-8?B?eWtmZmM=?= | last post by:
I try deploying a very simple (very simple indeed) Vb.net application by following the basic steps according to some tutorials. My pc runs Visual Studio 2005 and it reports "Build successful"...
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: 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
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
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,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new...

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.