.Net Service - Random Code Execution (.Net Bug?)

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



I have a .Net service (VB - 1.1 SP1) deployed in our environment that
is experiencing an odd issue. The service does a series of file &
registry based checks, logs to the event log and uploads the results to
an Oracle database. However, a few clients (a couple hundred or so out
of tens of thousands) are experiencing a rather odd issue.

The service is configure to fire it's checks every 48 hours (using a
timer), or whenever the service starts, whichever is sooner. Some
clients essentially "freak out" and execute the main block of code
several times per second for a period of time, resulting in hundreds of
thousands of records being added to the database in a 48 hour span of
time (instead of a couple). The event logs that are generated by the
service when this happens indicate that blocks of code are being
executed at random. Sometimes the same block is executed multiple
times. Here's what I've been able to ascertain:

- When the service encounters one of these "episodes", it lasts
anywhere from a couple hours to a couple days, but usually less than 48
hours, when it inexplicably stops and resumes normal functionality.

- Thousands of events are generated in the event log. This causes the
event log to wrap making it difficult for me investigate the source of
the problem. On the one machine where the event log had not wrapped,
there is nothing obvious either before the problem started or after it
stopped.

- Restarting the service does not seem to fix the issue. The problem
will persist until it stops of it's own accord.

- The issue is not tied to a specific build or make of machine.

- Based on the database records, a normal scan fires then terminates. A
few seconds elapse, and it enters this "loop".

- I could not reproduce the problem in test. The debugger ran normally.

I apologize, but I am not at liberty to post source code; I will do my
best to outline the flow of the program should any such questions
arise. Also, I am in the process of upgrading to .Net 2.0, but this
will take time.

Thank you very much. Any help is greatly appreciated.

.



Relevant Pages

  • Re: .Net Service - Random Code Execution (.Net Bug?)
    ... logs to the event log and uploads the results to ... of tens of thousands) are experiencing a rather odd issue. ... timer), or whenever the service starts, whichever is sooner. ... clients essentially "freak out" and execute the main block of code ...
    (microsoft.public.dotnet.general)
  • Re: ADMT v2 fails during w2k interdomain User move with Internal Error
    ... > On one of the users, the ADMT fails with the following ... > In the target AD Server's event log I have: ... Hi Zdenek, ... We are currently experiencing the EXACT same problem. ...
    (microsoft.public.windows.server.active_directory)
  • Event Log Error 1002
    ... Several of my client systems are experiencing 100% CPU ... Event Log is as follows: ... connection timeout on the Notes server with the client ...
    (microsoft.public.windowsxp.perform_maintain)
  • Adding Computers to Domain - ERROR..
    ... I have been experiencing issues with my users, so in the event log there ... This ran for a few secondss and then gave me the following error: ... Make sure Small Business Server Network Adaptors are correctly configured. ...
    (microsoft.public.windows.server.sbs)
  • Assistance requested
    ... Can anyone direct me where/who I can get the hot-fix from ... to resolve the issues I am experiencing with event log ... The event log appears to have 3,338 events in the ...
    (microsoft.public.win2000.advanced_server)