App Pool crashes when Application starts

YAMSANI Laxman 0 Reputation points
2023-12-05T08:32:58.6366667+00:00
OS Specifications:

Windows Server 2022 Datacenter, Version 21H2, 64 Bit 

.Net Framework: 4.8

Event Viewer logs:

Error:

Faulting application name: w3wp.exe, version: 10.0.20348.1, time stamp: 0x405e4c14

Faulting module name: KERNELBASE.dll, version: 10.0.20348.1787, time stamp: 0x99873638

Exception code: 0xe0434352

Fault offset: 0x000000000003ef5c

Faulting process id: 0x4490

Faulting application start time: 0x01da2675da49929f

Faulting application path: c:\windows\system32\inetsrv\w3wp.exe

Faulting module path: C:\WINDOWS\System32\KERNELBASE.dll

Report Id: 0fdf9624-f90e-41ed-9e0b-898029e32828

Faulting package full name: 

Faulting package-relative application ID: 

Information:

Fault bucket 2244567365195190943, type 4

Event Name: APPCRASH

Response: Not available

Cab Id: 0

Problem signature:

P1: w3wp.exe

P2: 10.0.20348.1

P3: 405e4c14

P4: KERNELBASE.dll

P5: 10.0.20348.1787

P6: 99873638

P7: e0434352

P8: 000000000003ef5c

P9: 

P10: 

Below DebugDiag Report:

In w3wp__WebApiPool__PID__1412__Date__11_29_2023__Time_01_15_00PM__266__Second_Chance_Exception_E0434352.dmp the assembly instruction at KERNELBASE!RaiseException in C:\Windows\System32\KERNELBASE.dll from Microsoft Corporation has caused a CLR Exception on thread 9 with the following error information:

    Type:  

System.Reflection.TargetInvocationException

    Message:  

Exception has been thrown by the target of an invocation.


This exception originated from ntdll!RcConsolidateFrames. 

This exception contains Inner Exceptions

Review the faulting stack for thread 9 to determine root cause for the exception.


Please follow up with vendor Microsoft Corporation for problem resolution concerning the following file: C:\Windows\System32\ntdll.dll.

In w3wp__WebApiPool__PID__4452__Date__11_29_2023__Time_12_25_56PM__788__Second_Chance_Exception_E0434352.dmp the assembly instruction at KERNELBASE!RaiseException in C:\Windows\System32\KERNELBASE.dll from Microsoft Corporation has caused a CLR Exception on thread 9 with the following error information:

    Type:  

System.Reflection.TargetInvocationException

    Message:  

Exception has been thrown by the target of an invocation.


This exception originated from ntdll!RcConsolidateFrames. 

This exception contains Inner Exceptions

Review the faulting stack for thread 9 to determine root cause for the exception.


Please follow up with vendor Microsoft Corporation for problem resolution concerning the following file: C:\Windows\System32\ntdll.dll.

In w3wp__WebApiPool__PID__6516__Date__11_29_2023__Time_01_15_19PM__253__Second_Chance_Exception_E0434352.dmp the assembly instruction at KERNELBASE!RaiseException in C:\Windows\System32\KERNELBASE.dll from Microsoft Corporation has caused a CLR Exception on thread 7 with the following error information:

    Type:  

System.Reflection.TargetInvocationException

    Message:  

Exception has been thrown by the target of an invocation.


This exception originated from ntdll!RcConsolidateFrames. 

This exception contains Inner Exceptions

Review the faulting stack for thread 7 to determine root cause for the exception.


Please follow up with vendor Microsoft Corporation for problem resolution concerning the following file: C:\Windows\System32\ntdll.dll.

In w3wp__WebApiPool__PID__6720__Date__11_29_2023__Time_12_25_41PM__193__Second_Chance_Exception_E0434352.dmp the assembly instruction at KERNELBASE!RaiseException in C:\Windows\System32\KERNELBASE.dll from Microsoft Corporation has caused a CLR Exception on thread 9 with the following error information:

    Type:  

System.Reflection.TargetInvocationException

    Message:  

Exception has been thrown by the target of an invocation.


This exception originated from ntdll!RcConsolidateFrames. 

This exception contains Inner Exceptions
Windows development Internet Information Services
{count} votes

1 answer

Sort by: Most helpful
  1. MotoX80 36,291 Reputation points
    2023-12-05T14:22:15.13+00:00

    Is this your production server, or a test server where you are doing the initial implementation and testing? Was the site working before and suddenly you started getting this error? Or is this your first attempt to get the site working on this server?

    Compare the Dot Net updates that are installed on your web server with the patches installed on your developer's workstation.

    https://learn.microsoft.com/en-us/dotnet/framework/migration-guide/how-to-determine-which-net-framework-updates-are-installed

    Concerning your comment "when Application starts", have you determined that the crash occurs on first HTTP request? Check the IIS log to see what requests have been processed. Check the logs in C:\Windows\System32\LogFiles\HTTPERR to see if it identifies the URL being processed when the crash occurs. Check the application and system event logs to see if any additional diagnostic information is available.

    This exception contains Inner Exceptions

    Review the faulting stack for thread 9 to determine root cause for the exception.

    Use DebugDiag to analyze the dump and look at the call stacks for threads 7 and 9 (which were identified in your output) and try to trace that back to some application function. You will need to configure the machine to access the Microsft symbol server. Work with your developer to understand what they are doing in that code at that point. That is: what application call is at the root of the crash?

    https://www.bing.com/search?q=how+to+use+debugdiag+to+analyze+a+dump

    If you are using purchased web site software, and this is NOT an in-house developed application, then you should contact the vendor's support team and work with them to analyze the problem.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.