G
Graham Siener
Hi All,
I have a real confusion situation on my hands. I've written a windows
service in c# that basically does archiving of data from one database
to another. Along the way it parses one field which is a large xml
document into many children fields. This service uses COM+ components
also written in c#, but the service is triggered by a windows event.
My problem is this: The service works fine when archiving a small
number of items (< 100) but I've been running "destructive tests" on
this service to see what it can handle, and when I'm archiving a large
number of items ( ~ 1000) the service will unexpectedly terminate. No
exceptions, no errors in the event log other than that the service
unexpectedly terminated.
Apparently Dr. Watson was running and "he" always gets a dump when the
service crashes. The causing function call is always
kernel32!lstrcmpiW (which I am not calling directly ever!). Any ideas
on what's going on? I've tried hammering the individual pieces and
that seems to work.
What's interesting is I took the archiving code loop and put it in a
winforms app. When I run the loop directly from that app, it also
crashes!
How is this happening in .NET land? How can I possibly catch these
errors?
I actually attached to this process and watched for the Exited event.
The error codes I got from two times were -2147483645 and -532459699,
both of which seem like gibberish.
Please let me know if you have any advice/suggestions/anecdotes -- I
would love to figure this one out.
Thanks!
I have a real confusion situation on my hands. I've written a windows
service in c# that basically does archiving of data from one database
to another. Along the way it parses one field which is a large xml
document into many children fields. This service uses COM+ components
also written in c#, but the service is triggered by a windows event.
My problem is this: The service works fine when archiving a small
number of items (< 100) but I've been running "destructive tests" on
this service to see what it can handle, and when I'm archiving a large
number of items ( ~ 1000) the service will unexpectedly terminate. No
exceptions, no errors in the event log other than that the service
unexpectedly terminated.
Apparently Dr. Watson was running and "he" always gets a dump when the
service crashes. The causing function call is always
kernel32!lstrcmpiW (which I am not calling directly ever!). Any ideas
on what's going on? I've tried hammering the individual pieces and
that seems to work.
What's interesting is I took the archiving code loop and put it in a
winforms app. When I run the loop directly from that app, it also
crashes!
How is this happening in .NET land? How can I possibly catch these
errors?
I actually attached to this process and watched for the Exited event.
The error codes I got from two times were -2147483645 and -532459699,
both of which seem like gibberish.
Please let me know if you have any advice/suggestions/anecdotes -- I
would love to figure this one out.
Thanks!