473,503 Members | 722 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Installing a .net windows service

I have recently built a .net windows service. This is a very simple
service that fires off a web service at a scheduled time. I then
created a setup using the following microsoft guidelines.

http://msdn.microsoft.com/library/de...pplication.asp

I then ran the setup. The service never shows up in my list of
services.

Has anyone else run in to this problem or resolved this type of problem

Thanks in advance for any help or advice

Feb 8 '06 #1
3 1700
"rockdady" <ro******@sbcglobal.net> wrote in message
news:11*********************@g14g2000cwa.googlegro ups.com...
I have recently built a .net windows service. This is a very simple
service that fires off a web service at a scheduled time. I then
created a setup using the following microsoft guidelines.

http://msdn.microsoft.com/library/de...pplication.asp

I then ran the setup. The service never shows up in my list of
services.

Has anyone else run in to this problem or resolved this type of problem

Thanks in advance for any help or advice


You need to run "Installutil.exe servicename.exe" to install the service.
Then you can configure the service launching the Administrative Tools ->
Services app.

--
Al Reid
Feb 9 '06 #2
CMM
This doesn't answer your question but I just wanted to comment: Anything
that involves "scheduling" is best done IMO with Window's built-in Task
Scheduler... which many people don't realize doesn't need a logged-on user
to run and allows you to execute a program using specific credentials
exactly as if the program were a service. A lot of folks including
commercial ISV's seem to want to reinvent this wheel.
Feb 9 '06 #3
Be sure your scheduled task doesn't expect to interact with a windows form or
UI in some way or another. You can generally get away with a console
interface that dumps data to stdout or stderr by redirecting the output to a
file but a windows app may not work at all or may work intermittently and
fail intermittently.

For instance if the program is primarily a batch operation written in vb but
it has some left over form window this may cause problems when running as a
background task even if the form isn't referenced.
--
VayTek Programmer
"CMM" wrote:
This doesn't answer your question but I just wanted to comment: Anything
that involves "scheduling" is best done IMO with Window's built-in Task
Scheduler... which many people don't realize doesn't need a logged-on user
to run and allows you to execute a program using specific credentials
exactly as if the program were a service. A lot of folks including
commercial ISV's seem to want to reinvent this wheel.

Feb 24 '06 #4

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

Similar topics

2
15206
by: Ken Lindner | last post by:
I have a need to become familiar with SQL Server 2000 for work. Needless to say I am new to SQL Server any version, but not IT in general. My employer has provided me with the SQL Server 2000...
0
2793
by: Chris Halcrow | last post by:
Hi I've spent ALL DAY trying to re-install SQL Server 2000 on Windows XP. I continually get the error 'cannot configure server' just at the end of the installation. I've tried the following: ...
1
1971
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...
11
5664
by: tshad | last post by:
I have a small Windows Service program that just has a timer on it and it built fine. I try to install it using InstallUtil and I get the following message: ...
5
2389
by: Andrea Vincenzi | last post by:
Help me please, I'm totally stuck! My Visual Studio 2003 debugger stopped working after I installed Windows XP Service Pack 2. Here is what happens (with any project, even a "Hello, world"...
10
4958
by: John | last post by:
I currently have a Windows Service that runs Transactions that are very Processor/Memory Intensive. I have a requirement to deploy multiple instances of the Web service on the Same server. Each...
3
1548
by: Mukesh | last post by:
Hi friends i wants to install a service (MS application Block) on the server using a web application. Can i do this if yes then how can i do this I m using MS VisualStudio.net 2003, C#, .net1.1...
11
20175
by: Don | last post by:
QUESTIONS: 1. Has anyone figured out how to successfully install the Office 97 Pro Service Release 2 patch in Vista? 2. Has anyone successfully installed an Office 97 Pro CD (SR2 version) in...
15
2398
by: =?Utf-8?B?RWxpb3Ro?= | last post by:
I try to install Windows Services but it show this error during the installation process, "Insufficient System resources exist to complete the requested service." I created this Services in VB...
4
1139
by: ravitunk | last post by:
hello all..i have a windows service which inserts a record into a table after every 24hours....while creating this windows service i selected 'Localsystem' as the account type in the properties...
0
7339
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...
1
6995
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
5581
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,...
1
5017
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...
0
3168
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3157
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1515
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
738
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
389
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.