.NET Runtime 2.0 Error Event ID 1000 - Need som help! RRS feed

  • Question

  • I have a .Net 2.0 C# Windows Service that reads messages from a message queue (xml), transforms them using XslCompiledTransform (does some other work using XmlTextReader and MemoryStreams) and then finally inserts data into a sql server database (In a distributed COM+ transaction).

    The problem is that sometimes the service crashes with the .NET Runtime 2.0 Error as source and EventId 1000.

    Faulting application application.exe, version, stamp 48a93225, faulting module kernel32.dll, version 5.2.3790.4062, stamp 462643a7, debug? 0, fault address 0x0000000000027d8d.

    (The machine is a has a multi-core CPU)

    My initial thought was that the service tried to read or write to a stream while the system was moving data between the ram and the swap. But after some more testing, the problem occurs even with ~750-1000mb free ram)

    Any ideas on how to locate and fix this problem?

    (If I restart the service after a crash it keeps processing messages as usual, so it's not a particular message or message action it crashes on.)
    Tuesday, November 11, 2008 2:47 PM


All replies

  • Use a debugger.
    Hans Passant.
    • Marked as answer by Zhi-Xin Ye Monday, November 17, 2008 11:06 AM
    Tuesday, November 11, 2008 10:08 PM
  • The problem is that is happens once every 1000th message or so and since its a .net runtime error I can't set any breakpoints in try-catch blocks either. (And on top of that, it works perfectly fine on my development machine but not in the production environment)
    Wednesday, November 12, 2008 6:23 AM