Scheduled Task .net C# error (0xc000041d)

0

I wrote a C# console application, running in Task Scheduler, that is working with a 3rd party COM library. The application iterates through thousands of records, each record using this 3rd party library to execute some logic.

I've narrowed down the failure to a new object instantiation from this library, but there are no exceptions; the code just stops even though it's wrapped in a Try\Catch statement. The only error messages that I can find are in Event Viewer -> Application:

Error 1 Exception code: 0xc000041d Fault offset: 0x000ceada

Error 2 Exception code: 0xc0000005 Fault offset: 0x000ceada

Unfortunately, the exception doesn't happen on the same record each time and I've also tried running on multiple servers thinking it was environmental but it still errors.

Does anyone have any suggestions on how to begin troubleshooting this issue? What do these errors mean?

Thanks in advance

c#
.net
scheduled-tasks
com-interop
asked on Stack Overflow Nov 9, 2017 by Josh

0 Answers

Nobody has answered this question yet.


User contributions licensed under CC BY-SA 3.0