Many application pools in IIS are separately identified under Runtime when the client receives an available service error message

  

Symptoms When you run Microsoft Internet Information Services (IIS), multiple application pools under different custom IDs are not initialized when some application processes are initialized correct. When this problem occurs, you may receive an available "service" client for these application pool host pages when they try to access the Web error message. Additionally, the following warning message may be logged in the system log: Event Type: Warning
Event Source: W3SVC
Event Category: None
Event ID 1009:
Description:
Processing Application Pool' poolname ' The process terminated unexpectedly. The process ID is processid ' '. The process exit code is 0 x 80 ' '.
This problem does not occur when you use three predefined identities. The predefined IDs are NetworkService, Local Service, and Local System.

Note This problem occurs in both 32-bit versions of IIS and 64-bit versions of IIS.


The reason is that by using memory allocated from the configuration desktop heap, IIS uses a separate identity to create a new desktop object for each worker process system. This problem occurs because the heap is exhausted when IIS cannot create multiple worker processes. The "Services" client can then receive these application pools from the host site, their Web when they try to access the error message in the Web browser.


Solution Warning Serious problems might occur if you modify the registry incorrectly by using Registry Editor or by using another method. These issues may require reinstalling the operating system. Microsoft cannot guarantee that these issues will be resolved. Modifying the registry is at your own risk.

To resolve this issue, add the UseSharedWPDesktop registry entry that is the computer that is running IIS. This registry key allows all the secondary processes to be run on a shared desktop, regardless of their worker process ID.

To add the UseSharedWPDesktop registry entry:

then click OK, Start, type regedit, and Run.
Locate the following registry key:
HKEY_LOCAL_MACHINE\\System\\CurrentControlSet\\Services\\W3SVC
Right-click Parameters, point to New, and then click DWORD Value.
Type UseSharedWPDesktop.
will set this new item value to 1.
Exit the Registry Editor and restart IIS.

Copyright © Windows knowledge All Rights Reserved