Windows service crash

  • Thread starter ramendra.kotharkar
  • Start date
R

ramendra.kotharkar

Hello,

I have a windows service application that is developed using .NEt
VS2005 and it calls some unmanaged functions for doing some image
processing tasks. It often crashes when run continuously for a period
of 1 hour or so. There is information in event log some times (Fatal
Engine Error or Faulting application mscorwks.dll) and sometimes there
is no information in the event log. I tried to attach debugger to this
service to debug the application but always faced access violation
problem which is not related to service crash. I even enabled the
postmortem debugger using windbg but the application doesn:t get
caught when it crashes.

Help in this regards would be appreciated...

Thanks in advance,
Ramendra
 
K

Kevin Spencer

This is why I always write my service applications as class libraries that
can be hosted in a Windows application or a service. That way I can test
them without having to attach to a Windows Service process.

--
HTH,

Kevin Spencer
Chicken Salad Surgeon
Microsoft MVP
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top