Blog Post

IIS Support Blog
2 MIN READ

w3wp.exe crash (Exception code: 0xc0000005)

Nedim's avatar
Nedim
Iron Contributor
Feb 11, 2019

IIS uses worker processes (w3wp.exe file in Windows) to handle client requests. If w3wp.exe crashes, your users cannot access to your application until the process starts again. In Event Viewer, you may see the exception codes 0xc0000005 and 0xe0434352 recorded during crashes.

 

Exception descriptions from Event Viewer are below. “Faulting module name” refers to the component that causes the crash.

 

Event ID: 1000

Faulting application name: w3wp.exe, version: 10.0.14393.0, time stamp: 0x57899b8a

Faulting module name: KERNELBASE.dll, version: 10.0.14393.2608, time stamp: 0x5bd1340d

Exception code: 0xe0434352

Event ID: 1000

Faulting application name: w3wp.exe, version: 10.0.14393.0, time stamp: 0x57899b8a

Faulting module name: OraOps12.dll, version: 2.121.1.0, time stamp: 0x52002676

Exception code: 0xc0000005

Solution

Based on the logs above, there are two exception codes that lead to the root cause:

  • Exception code 0xc0000005: It translates into STATUS_ACCESS_VIOLATION.
    0:000> !err 0xC0000005 
    0xc0000005 = STATUS_ACCESS_VIOLATION
    • In our particular case (In the logs above), the faulting module is OraOps12.dll. This is a part of Oracle Data Access Components (ODAC). Upgrading or repairing the related module could fix the issue.
    • The best way to identify what exactly caused the problem is to capture a crash dump and examine the faulting thread's call stack. If a regular crash dump does not reveal the root cause, then a pageheap enabled dump may be required for further investigation.
  • Exception code 0xe0434352: This is a generic CLR exception code. It is thrown when there is an internal issue in the application. In most cases, it is either System.NullReferenceException or System.ArgumentException
    • There is no straightforward way to solve these kind of issues. I would recommend debugging the application in Visual Studio to get more details. In case you don’t have access to the source code, you can use DebugDiag or WinDbg for further troubleshooting.
Updated May 17, 2022
Version 5.0

8 Comments

  • Tommy5050's avatar
    Tommy5050
    Copper Contributor

    Hi, I am getting the same error I will paste it below. I collected a dump fil via. https://www.microsoft.com/en-us/download/details.aspx?id=58210 but I will cannot find out what is the cause. Here is the error. 

    Faulting application name: w3wp.exe, version: 10.0.17763.1, time stamp: 0xa7ccada2
    Faulting module name: unknown, version: 0.0.0.0, time stamp: 0x00000000
    Exception code: 0xc0000005
    Fault offset: 0x04e10fef
    Faulting process id: 0x17c70
    Faulting application start time: 0x01d9484a06271cf5
    Faulting application path: C:\WINDOWS\SysWOW64\inetsrv\w3wp.exe
    Faulting module path: unknown
    Report Id: 5dcb47f8-2720-43f4-82cd-bea4e7a1423b
    Faulting package full name:
    Faulting package-relative application ID:

     

    Any help would be greatly appreciated. 

    Thanks

  • Nedim's avatar
    Nedim
    Iron Contributor

    Hi Parvathi_012503, unfortunately, it looks like there hasn't been a log recorded that may show the root cause. In this case, I would recommend collecting a dump file by using Crash rule in DebugDiag. You can analyze the dump file by using DebugDiag Analysis that comes with the same installation

     

    If you require Microsoft's assistance analyzing the dump file and troubleshooting the issue further, I'd appreciate it if you create a support request: https://support.microsoft.com/en-us/hub/4343728/support-for-business

  • Parvathi_012503's avatar
    Parvathi_012503
    Copper Contributor

    Hi Nedim,

     

    As you suggested, I collected event log for IIS crash 1000 error. Could you please find the Event log, before IIS crash and let me know the solution.

     

     

    Thanks,

    Parvathi

  • Nedim's avatar
    Nedim
    Iron Contributor

    Parvathi_012503 and mrflchen, thank you for your comments. The error messages you posted don't provide details about the root cause. Most of the time, there is another event log recorded right before the crash. That event log should have an error message and stack trace related to the crash.

     

    You can also use DebugDiag to collect a crash dump

  • Parvathi_012503's avatar
    Parvathi_012503
    Copper Contributor

    Hi All,

     

    We are getting the following error, ie IIS crash.

    Please suggest me solution .

    Error :-

    Faulting application name: w3wp.exe, version: 10.0.14393.0, time stamp: 0x57899b8a
    Faulting module name: ntdll.dll, version: 10.0.14393.3383, time stamp: 0x5e8d4386

     

    Thanks,

    Parvathi

  • mrflchen's avatar
    mrflchen
    Copper Contributor

    Hi

    I have almost error, could you please tell me how you fix ? Thx

     

    Faulting application name: w3wp.exe, version: 10.0.14393.0, time stamp: 0x57899135
    Faulting module name: KERNELBASE.dll, version: 10.0.14393.3659, time stamp: 0x5e9140ea
    Exception code: 0xe0434352
    Fault offset: 0x000dc562
    Faulting process id: 0x2280
    Faulting application start time: 0x01d640f70f7dc258
    Faulting application path: C:\Windows\SysWOW64\inetsrv\w3wp.exe
    Faulting module path: C:\Windows\System32\KERNELBASE.dll
    Report Id: 70f61ea0-a109-4206-8313-cc807c165e18
    Faulting package full name:
    Faulting package-relative application ID:

  • Nedim's avatar
    Nedim
    Iron Contributor

    Atul1993 I would recommend collecting a dump file with DebugDiag to find out the stack trace and underlying issue

  • Atul1993's avatar
    Atul1993
    Copper Contributor

    Hi All

    i am getting error my server .On which their is no visual studio on server .

    After that i am getting this error please suggest me solution .

    Error :-

    Faulting application name: w3wp.exe, version: 10.0.14393.0, time stamp: 0x57899b8a
    Faulting module name: KERNELBASE.dll, version: 10.0.14393.3383, time stamp: 0x5ddcba29
    Exception code: 0x80000003
    Fault offset: 0x00000000000c5f72
    Faulting process id: 0x3c88
    Faulting application start time: 0x01d5c1108acdd6c9
    Faulting application path: c:\windows\system32\inetsrv\w3wp.exe
    Faulting module path: C:\windows\System32\KERNELBASE.dll
    Report Id: d54b0a50-b834-4e29-a950-24923cb73ae1
    Faulting package full name:
    Faulting package-relative application ID:

     

    Thanks