none
.NET Runtime version 2.0.50727.5420 - Fatal Execution Engine Error (000007FEF9F5AF0E) (80131506) .Net Windows Service Crashing??? RRS feed

  • Question

  • Hi all,

    I have searched around, googled a lot and read about similar errors. Also tried various solutions that have been posted here as well as on various forums around the world.

    I am getting the following error in event viewer when a .Net based Windows Service crashes:

    .NET Runtime version 2.0.50727.5420 - Fatal Execution Engine Error (000007FEF9F5AF0E) (80131506)

    Detail:

    Faulting application name: MyWindowsService.exe, version: 5.2.11.0, time stamp: 0x4e5201ae
    Faulting module name: mscorwks.dll, version: 2.0.50727.5420, time stamp: 0x4ca2b7e1
    Exception code: 0xc0000005
    Fault offset: 0x00000000006baa89
    Faulting process id: 0x%9
    Faulting application start time: 0x%10
    Faulting application path: %11
    Faulting module path: %12
    Report Id: %13

    -----
    The My Windows Service terminated unexpectedly.  It has done this 13 time(s).

    The windows Service has been running fine since years. The windows service and its dependencies have not be updated since a couple of months. We have even commented all code within the service so in effect, we are left with just threads and timers that do nothing!

    The following references 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
    

    The operating system is Windows Server 2008 R2 x64. .Net Framework 3.5 Sp1 is installed and no updates are installed except KB976902 which i cannot un-install as neither via Control panel nor by command line as it says that it cannot be un-installed.

     

    We are facing this problem on a couple of servers and these issues have started popping up in last couple of days. We have even tried deploying an older build of the windows service as well as commenting out the functionality in each thread but to no effect!.

    The problem is also occurring where Windows Update was installed and all windows updated were being installed as well as those which had windows update disabled and no other update except KB976902 was installed. We have some servers where this crash is NOT occurring at all and those servers have this update KB976902 installed as well.

    We have tried updating .Net framework as well on a couple of servers but that does not change anything. All Windows Servers are genuinely licensed and there is no such issue of Administrative privileges problem.

    Kindly help.

    Thanks.

     

    EDIT:

    The text report from event log is pasted below:

    Version=1
    EventType=APPCRASH
    EventTime=129585323564544793
    ReportType=2
    Consent=1
    ReportIdentifier=88bd5544-cd1d-11e0-b3aa-00155dfa2211
    Response.type=4
    Sig[0].Name=Application Name
    Sig[0].Value=MyWindowsService.exe
    Sig[1].Name=Application Version
    Sig[1].Value=5.2.11.0
    Sig[2].Name=Application Timestamp
    Sig[2].Value=4e44c179
    Sig[3].Name=Fault Module Name
    Sig[3].Value=mscorwks.dll
    Sig[4].Name=Fault Module Version
    Sig[4].Value=2.0.50727.5446
    Sig[5].Name=Fault Module Timestamp
    Sig[5].Value=4d8cdb54
    Sig[6].Name=Exception Code
    Sig[6].Value=c0000005
    Sig[7].Name=Exception Offset
    Sig[7].Value=00000000006baa29
    DynamicSig[1].Name=OS Version
    DynamicSig[1].Value=6.1.7601.2.1.0.274.10
    DynamicSig[2].Name=Locale ID
    DynamicSig[2].Value=1033
    UI[2]=C:\Program Files\MyService\MyWindowsService.exe
    LoadedModule[0]=C:\Program Files\MyService\My.Windows-Svc.exe.exe
    LoadedModule[1]=C:\Windows\SYSTEM32\ntdll.dll
    LoadedModule[2]=C:\Windows\SYSTEM32\MSCOREE.DLL
    LoadedModule[3]=C:\Windows\system32\KERNEL32.dll
    LoadedModule[4]=C:\Windows\system32\KERNELBASE.dll
    LoadedModule[5]=C:\Windows\system32\ADVAPI32.dll
    LoadedModule[6]=C:\Windows\system32\msvcrt.dll
    LoadedModule[7]=C:\Windows\SYSTEM32\sechost.dll
    LoadedModule[8]=C:\Windows\system32\RPCRT4.dll
    LoadedModule[9]=C:\Windows\system32\SHLWAPI.dll
    LoadedModule[10]=C:\Windows\system32\GDI32.dll
    LoadedModule[11]=C:\Windows\system32\USER32.dll
    LoadedModule[12]=C:\Windows\system32\LPK.dll
    LoadedModule[13]=C:\Windows\system32\USP10.dll
    LoadedModule[14]=C:\Windows\system32\IMM32.DLL
    LoadedModule[15]=C:\Windows\system32\MSCTF.dll
    LoadedModule[16]=C:\Windows\Microsoft.NET\Framework64\v2.0.50727\mscorwks.dll
    LoadedModule[17]=C:\Windows\WinSxS\amd64_microsoft.vc80.crt_1fc8b3b9a1e18e3b_8.0.50727.4940_none_88df89932faf0bf6\MSVCR80.dll
    LoadedModule[18]=C:\Windows\system32\shell32.dll
    LoadedModule[19]=C:\Windows\system32\ole32.dll
    LoadedModule[20]=C:\Windows\system32\profapi.dll
    LoadedModule[21]=C:\Windows\assembly\NativeImages_v2.0.50727_64\mscorlib\8f7abb6f7384aad8fc43659820726eab\mscorlib.ni.dll
    LoadedModule[22]=C:\Windows\system32\CRYPTBASE.dll
    LoadedModule[23]=C:\Windows\assembly\NativeImages_v2.0.50727_64\System\3e6eefab37b44e147db80a3c34f0ac05\System.ni.dll
    LoadedModule[24]=C:\Windows\assembly\NativeImages_v2.0.50727_64\System.ServiceProce#\d69463a51d3536074bff664c0a097b1f\System.ServiceProcess.ni.dll
    LoadedModule[25]=C:\Windows\Microsoft.NET\Framework64\v2.0.50727\mscorjit.dll
    LoadedModule[26]=C:\Windows\assembly\NativeImages_v2.0.50727_64\System.Runtime.Remo#\caddda432d02308c325519a8e2f09dc4\System.Runtime.Remoting.ni.dll
    LoadedModule[27]=C:\Windows\assembly\NativeImages_v2.0.50727_64\Microsoft.VisualBas#\4b85c3384fdda12490074283615d4723\Microsoft.VisualBasic.ni.dll
    LoadedModule[28]=C:\Program Files\MyService\ServerApp.Utility.dll
    LoadedModule[29]=C:\Program Files\MyService\ServerApp.RemoteServer.dll
    LoadedModule[30]=C:\Windows\system32\ws2_32.dll
    LoadedModule[31]=C:\Windows\system32\NSI.dll
    LoadedModule[32]=C:\Windows\system32\mswsock.dll
    LoadedModule[33]=C:\Windows\System32\wshtcpip.dll
    LoadedModule[34]=C:\Windows\System32\wship6.dll
    LoadedModule[35]=C:\Windows\assembly\NativeImages_v2.0.50727_64\System.Configuration\df2bfb30ffdbfbb49d2c5ef6fc763578\System.Configuration.ni.dll
    LoadedModule[36]=C:\Windows\assembly\NativeImages_v2.0.50727_64\System.Xml\318b11a6b944c9ef2998d374c9d5bda8\System.Xml.ni.dll
    LoadedModule[37]=C:\Windows\system32\CRYPTSP.dll
    LoadedModule[38]=C:\Windows\system32\rsaenh.dll
    LoadedModule[39]=C:\Windows\assembly\NativeImages_v2.0.50727_64\System.Web\01e1dddd3684f57d19699eeb1fad3892\System.Web.ni.dll
    LoadedModule[40]=C:\Windows\system32\NLAapi.dll
    LoadedModule[41]=C:\Windows\system32\napinsp.dll
    LoadedModule[42]=C:\Windows\system32\DNSAPI.dll
    LoadedModule[43]=C:\Windows\System32\winrnr.dll
    LoadedModule[44]=C:\Windows\system32\IPHLPAPI.DLL
    LoadedModule[45]=C:\Windows\system32\WINNSI.DLL
    LoadedModule[46]=C:\Windows\system32\rasadhlp.dll
    LoadedModule[47]=C:\Windows\System32\fwpuclnt.dll
    LoadedModule[48]=C:\Windows\assembly\NativeImages_v2.0.50727_64\System.Runtime.Seri#\ddd7749c4f3e68ca556795b7cd2a7a00\System.Runtime.Serialization.Formatters.Soap.ni.dll
    LoadedModule[49]=C:\Windows\Microsoft.NET\Framework64\v2.0.50727\diasymreader.dll
    LoadedModule[50]=C:\Windows\system32\VERSION.dll
    LoadedModule[51]=C:\Windows\system32\apphelp.dll
    FriendlyEventName=APPCRASH
    ConsentKey=APPCRASH
    AppName=Provisioning Service
    AppPath=C:\Program Files\MyService\MyWindowsService.exe
    ReportDescription=Stopped working


    ~~ A man's dreams are an index to his Greatness ~~


    • Edited by timematcher Tuesday, August 23, 2011 7:16 AM
    Monday, August 22, 2011 10:07 AM

Answers

  •  

    Hi,

     

    You can use the tool to verify the presence of files, directories, registry keys and values for the .NET Framework.  It will also verify that simple applications that use the .NET Framework can be run correctly.

     

    If .NET Framework is not installed correctly, you can reinstall .NET Framework.

     

    Moreover, You can submit your suggestions to Microsoft Connect feedback portal http://connect.microsoft.com, Microsoft engineers will evaluate them seriously, thanks. 

    If this issue is urgent, please contact support at http://support.microsoft.com


    Paul Zhou [MSFT]
    MSDN Community Support | Feedback to us
    Get or Request Code Sample from Microsoft
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

    • Marked as answer by Paul Zhou Tuesday, August 30, 2011 10:00 AM
    Wednesday, August 24, 2011 2:58 AM

All replies

  • I dont have a solution, but thought would share this with you. There seem to be others facing similar issues http://community.landesk.com/support/message/60856
    Tuesday, August 23, 2011 7:01 AM
  • I dont have a solution, but thought would share this with you. There seem to be others facing similar issues http://community.landesk.com/support/message/60856

    Thanks for sharing. However, in my case, i have tried deploying both AnyCPU as well as X64 versions of the service but their is no change in behavior. Also, among many server (windows Server 2008 R2 based server) where we are having the issue, some servers have latest updates installed and some don't have any update installed except KB976902.

    The troubling thing is:
    There are no standard steps to produce this issue. The problem slowly started appearing on our lab servers one after another. The servereity of the problem is : A lot of clients use our product and this service is instrumental in connecting  the various distributed components together. Without this service running, the product cannot do anything.

    I wonder if the exception codes are of any help to MSoft to find the actual cause of the error????

    If the service was running fine for years and no one had such a problem of service crashing, what could have gone wrong? Please see updated event log in the first post.

     

     


    ~~ A man's dreams are an index to his Greatness ~~
    Tuesday, August 23, 2011 7:13 AM
  •  

    Hi,

     

    You can use the tool to verify the presence of files, directories, registry keys and values for the .NET Framework.  It will also verify that simple applications that use the .NET Framework can be run correctly.

     

    If .NET Framework is not installed correctly, you can reinstall .NET Framework.

     

    Moreover, You can submit your suggestions to Microsoft Connect feedback portal http://connect.microsoft.com, Microsoft engineers will evaluate them seriously, thanks. 

    If this issue is urgent, please contact support at http://support.microsoft.com


    Paul Zhou [MSFT]
    MSDN Community Support | Feedback to us
    Get or Request Code Sample from Microsoft
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

    • Marked as answer by Paul Zhou Tuesday, August 30, 2011 10:00 AM
    Wednesday, August 24, 2011 2:58 AM