HELP!!!!!
I created a service that cleans out files in a directory.
The problem is it works for a while, then something (windows perhaps?)
sends it a stop-service cmd.
I figure that my software should behave when it is sent a stop-service,
but what would send it a stop????? On shutting down the computer, I could
understand, but that never occured.
Great thanks in advance for any and all help. 3 2634
Do you rely on timers or anything like this? Are you sure you don't have an
exception that you are not handling?
--
Regards,
Robson Siqueira
Enterprise Architect
"TheMadHatter" <Th**********@discussions.microsoft.comwrote in message
news:D8**********************************@microsof t.com...
>
HELP!!!!!
I created a service that cleans out files in a directory.
The problem is it works for a while, then something (windows perhaps?)
sends it a stop-service cmd.
I figure that my software should behave when it is sent a stop-service,
but what would send it a stop????? On shutting down the computer, I could
understand, but that never occured.
Great thanks in advance for any and all help.
Yes, there is one service timer. The ServiceTimer_Elapsed is fully error
handled.
"Robson Siqueira" wrote:
Do you rely on timers or anything like this? Are you sure you don't have an
exception that you are not handling?
--
Regards,
Robson Siqueira
Enterprise Architect
"TheMadHatter" <Th**********@discussions.microsoft.comwrote in message
news:D8**********************************@microsof t.com...
HELP!!!!!
I created a service that cleans out files in a directory.
The problem is it works for a while, then something (windows perhaps?)
sends it a stop-service cmd.
I figure that my software should behave when it is sent a stop-service,
but what would send it a stop????? On shutting down the computer, I could
understand, but that never occured.
Great thanks in advance for any and all help.
Never mind....
It was one of my other programs stopping it, upon its start. urg. Thanks
anyhow.
"TheMadHatter" wrote:
>
HELP!!!!!
I created a service that cleans out files in a directory.
The problem is it works for a while, then something (windows perhaps?)
sends it a stop-service cmd.
I figure that my software should behave when it is sent a stop-service,
but what would send it a stop????? On shutting down the computer, I could
understand, but that never occured.
Great thanks in advance for any and all help. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Gene |
last post by:
I have a Windows Service (VB.NET) that runs 24/7. It
queries a Web service 5 to 10 times per hour. About 2 or
3 times a month, it fails. The log indicates that it
sends the request to the Web...
|
by: Ankit Aneja |
last post by:
I am making windows service using Microsoft visual studio.Net in C#
service name is clamservice
problem is that when i start the service it through
control pannel->Administrative tools->services...
|
by: zxo102 |
last post by:
Hi there,
I have a python application (many python scripts) and I start the
application like this
python myServer.py start
in window. It is running in dos window. Now I would like to put it...
|
by: tshad |
last post by:
What would be a good way to check programmatically whether a service was
running?
We have a service that dies periodically and I need to check to see if this
service is running. I know how to...
|
by: Terry Olsen |
last post by:
I have a windows service that has been running fine for almost 6 months.
Last week, it just stopped working. It is still in the task list and
still shows "started" in the service manager. There...
|
by: kkt49 |
last post by:
# vim: et sw=4 ts=8 sts
from wxPython.wx import *
import sys, os, time
import pywintypes
import win32serviceutil
import win32service
import win32event
import win32process
|
by: chitra g |
last post by:
Hi,
I tried all the options below but did not work.
Your suggestions please.
|
by: eliasen |
last post by:
Hi
I have created a Windows Service using C# and .NET2.0. The service is
quite simple - right now it doesn't do anything except throwing an
exception in the OnStart method. It used to something...
|
by: iprogrammer |
last post by:
i have a problem when i try to run my windows service ..which is "Error 1053: The service did not respond to the start or control request in a timely fashion"
>after this i cannot anything with...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
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
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
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...
|
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...
|
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,...
|
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,...
|
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...
|
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...
| |