Share via

IIS App pool fails to restart after server reboot, but the Identity user seems to be working properly

Anonymous
2023-07-11T19:44:35+00:00

Hi everyone,

We've been facing an issue with our Windows servers hosting services with IIS. Every week, when we reboot the servers, a significant number of our app pools fail to start automatically. As a result, we have to manually log into each server and start the app pools.

Interestingly, all the app pools that fail to start after rebooting have the same Identity Custom Service Account. Initially, we suspected the problem might lie with the service account. However, we have an equal number of app pools with the same service account that restart successfully every time.

We've captured a sample log from the event log immediately after a server reboot, which repeats consistently for each app pool that fails to start:

Application pool MyService has been disabled. Windows Process Activation Service (WAS) encountered a failure when it started a worker process to serve the application pool.


Application pool MyService has been disabled. Windows Process Activation Service (WAS) did not create a worker process to serve the application pool because the application pool identity is invalid.


The identity of application pool MyService is invalid. The user name or password that is specified for the identity may be incorrect, or the user may not have batch logon rights. If the identity is not corrected, the application pool will be disabled when the application pool receives its first request. If batch logon rights are causing the problem, the identity in the IIS configuration store must be changed after rights have been granted before Windows Process Activation Service (WAS) can retry the logon. If the identity remains invalid after the first request for the application pool is processed, the application pool will be disabled. The data field contains the error number.

We reset the Identity pool also but it is still not working. I need the Custom Service Account because the service need access to some files from the network.

Below are some logs I am not sure to be related to the App pool failure but maybe will be helpfull for the troubleshooting:

Fault bucket , type 0

Event Name: APPCRASH

Response: Not available

Cab Id: 0

Problem signature:

P1: w3wp.exe

P2: xxxxxxx

P3: xxxxxxx

P4: ucrtbase.dll

P5: xxxxxxx

P6: xxxxxxx

P7: xxxxxxx

P8: xxxxxxx

P9:

P10:

Attached files:

These files may be available here:

C:\ProgramData\Microsoft\Windows\WER\ReportQueue\AppCrash_w3wp.exe_xxxxxx

Analysis symbol:

Rechecking for solution: 0

Report Id: dd83-xxxx-xxxx-xxxx-xxxx

Report Status: 524384

Hashed bucket:

The Azure Pipelines Agent (myAgent) service terminated with the following error:

Incorrect function.


The application-specific permission settings do not grant Local Activation permission for the COM Server application with CLSID

{ID0001}

and APPID

{ID0002}

to the user Sank\service SID (ID0003) from address LocalHost (Using LRPC) running in the application container Unavailable SID (Unavailable). This security permission can be modified using the Component Services administrative tool.

The WinRM service failed to create the following SPNs: XXXXXX; XXXXXX.


The driver \Driver\WudfRd failed to load for the device XXXXXXX.


The luafv service failed to start due to the following error:

This driver has been blocked from loading

PLEASE SOMEBODY HELP ME

Windows for home | Windows 10 | Performance and system failures

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

1 answer

Sort by: Most helpful
  1. Anonymous
    2023-07-11T20:17:25+00:00

    Hi, I'm David.

    Sorry. The Microsoft Community is a forum for home users.

    Since your question is related to Windows Server and IIS, I suggest you access the link below, which will direct you to the Microsoft Q&A page.

    https://learn.microsoft.com/en-us/answers/index...

    Microsoft Q&A has IT professionals and system administrators who can best help with this type of question.

    Best regards.

    Was this answer helpful?

    0 comments No comments