To Cor and Fergus:
Thank you for your comments. Here are some answers to
your comments.
(1) I am posting these questions to the
microsoft.public.dotnet.framework.webservices. Thanks for
the tip. I found that location by searching for "ASP.NET"
and finding the most frequently used site.
(2) Neither the Windows Service or Web Service has any
ASP.NET associated with them.
(3) I posted these separately because the problems are
independent of each other. In one case, it happens
whenever we go more than 30 minutes without a transaction
being sent by server. We have error trapping and the
system functions. It just causes an automatic
resubmission and a delay in the process (which makes the
end user wait longer than expected). During the busy time
of day there is no problem because the requests go every
10 or 15 minutes. During slower part of day, there can be
a 60 minute gap between requests.
The second problem happens sporatically perhaps once every
week or two at one location (out of 10). We have no idea
about what causes it. We have never seen it happen when
being closely monitored or tested. So far, our error
trapping has not yielded any clues and we have no idea of
how to duplicate the problem. (We only know how to fix it
(stop and restart windows service.) Who knows when it
will happen again?
Gene
-----Original Message-----
Hello Gene,
I'm no expert on this but no one else has given you a
solutionyet.
I would expect a Windows Service to be able to stop
itself, butnot to be able to start itself (because it wouldn't be
running!).
Another Windows Service to monitor it would work but
sounds like alast-resort workaround. If you went this way I think you
need to lookinto the WMI classes which effect what you do manually
with theComputer Management Console.
Help topic:
ms-
help://MS.MSDNVS/cpguide/html/cpconusingwmiwiththenetframew
ork.htm But get further advice - like I say, this is not my
area.
I think the best solution, certainly from the point
of view ofpeace of mind, is to put your effort to dealing with the
error.
You say that there is no return from your request.
Some questions:
Do you know this because of a time-out or
otherwise? What happens next - does your Service crash?
Do all subsequent requests similarly fail?
Is an Exception thrown?
Are you logging everything that may be useful or
just minimalactivity/status info?
Etc - whatever info you think might be relevant.
Regards,
Fergus
.