.net – The process was terminated due to an internal error in the .NET Runtime with exit code 80131506

netwindows-services

We had a windows service running .NET 2.0 for a long time and we upgraded it to .NET 4.0 two months back. For few days it was fine, then the service started crashing (.NET runtime itself crashes) with the following entry in the event log. I came across this stackoverflow link and now got stuck. This service doesn't use any COM Interop, but it does use a third party library (Aspose PDF). Any help will be much appreciated.

The process was terminated due to an internal error in the .NET Runtime at IP 791F7DB6 (79140000) with exit code 80131506.

Best Answer

First off, please try to use the Aspose.Pdf DLL built for .NET 4.0. You can find it in the Aspose.Pdf for .NET installation directory. You can also try the latest version of Aspose.Pdf for .NET. Also, please try to get the log and other related details to find out whether it is caused by Aspose.Pdf or not. If it is the component and you get the same exception with latest version and 4.0 build then please post a query in Aspose.Pdf forum at Aspose website along with the sample project etc., so our team would be able to investigate and resolve this issue for you. Moreover, this component doesn't use any unmanaged code and there is no COM interop involved with it either.

Disclosure: I work as developer evangelist at Aspose.

Related Topic