I searched around, googled a lot and read about similar errors. Also tried various solutions that were posted here, as well as in various forums around the world.
I get the following error in Event Viewer when .Net-based Windows service crashes:
.NET Runtime version 2.0.50727.5420 - Machine Failure Error (000007FEF9F5AF0E) (80131506)
detail:
Application name error: MyWindowsService.exe, version: 5.2.11.0, timestamp: 0x4e5201ae Module name error: mscorwks.dll, version: 2.0.50727.5420, timestamp: 0x4ca2b7e1 Exception code: 0xc0000005 Error offset: 0x00000000006baa89 Failure process identifier: 0x% 9 Fault application startup time: 0x% 10 Application path error:% 11 Faulty module path:% 12 Report ID:% 13
My Windows service terminated unexpectedly. He has done this 13 times.
Windows service has been working over the years. The Windows service and its dependencies have not been updated since two months. We even commented on all the code inside the service, so in reality we only have threads and timers that do nothing!
The following links are imported into the Windows service.
Imports System.Threading Imports System.Runtime.Remoting.Channels.Tcp Imports System.Runtime.Remoting.Channels Imports System.IO Imports System.Runtime.Remoting.Activation Imports Microsoft.Win32 Imports System.Net Imports System.Runtime.Remoting Imports System.Data.SqlClient Imports System.Collections.ObjectModel Imports System.ServiceProcess Imports SearchOption = Microsoft.VisualBasic.FileIO.SearchOption
Windows Server 2008 R2 x64 operating system . * .Net Framework 3.5 Sp1 * is installed and updates are not installed, except for KB976902 , which I can not remove from the system either through the control panel or through the command line, because it says that it cannot be installed.
We encounter this problem on several servers, and these problems began to appear in the last couple of days. We even tried to deploy an older version of the Windows service, as well as comment on the functionality in each thread, but this did not affect !.
The problem also occurs when Windows Update was installed and all updated windows, as well as those that have Windows update disabled, and there was no other update than KB976902 . We have several servers where this failure does NOT occur at all, and this update KB976902 is installed on these servers.
We tried updating the .Net framework to .Net 4.0 with all its updates on several servers, but that doesnβt change anything. All Windows servers have a genuine license and there is no such administrative rights issue.
Please help.
Thanks.