WAS encountered a failure while setting the affinity mask of an application pool Rule

  • ID:  Microsoft.Windows.InternetInformationServices.2008.WAS.encountered.a.failure.while.setting.the.affinity.mask.of.an.application.pool
  • Description:   
  • Target:  IIS 7 Application Pool
  • Enabled:  On Essential Monitoring

Overridable Parameters

Parameter Name Default Value Description Override
Priority 1  
Severity 1  

Run As Profiles

Name
Default

Rule Knowledgebase

Summary

To ensure Web site and Web application isolation, Internet Information Services (IIS) application pools must be configured to have unique names and correctly configured identities. If errors occur during the configuration of an application pool, the application pool may not be available to serve the Web sites and Web applications that are assigned to it.

Causes
This rule does not contain any causes.
Resolutions

Correct the application pool configuration as indicated in the event log message. If the problem persists, check the permissions on the ApplicationHost.config file and make sure that all required services are started. In some cases, you may have to stop and restart WAS.

Edit the application pool configuration by using Internet Information Services (IIS) Manager

To edit the application pool configuration:

  • Click Start, click Control Panel, and then click Administrative Tools.

  • Right-click Internet Information Services (IIS) Manager and select Run as administrator.

  • In the Connections pane, expand the server node and select Application Pools.

  • In Features View, select the application pool you want to configure.

  • In the Actions pane, click Advanced Settings.

  • Correct the application pool configuration as indicated by the event log message.

  • Click OK.

Stop and restart WAS

To stop and restart WAS:

Note: Stopping WAS will also stop any other services that depend on it, including the World Wide Web Publishing Service (W3SVC). Thus, you may also have to restart W3SVC or other services.

  • Open an elevated Command Prompt window. Click Start, point to All Programs, click Accessories, right-click Command Prompt, and then click Run as administrator.

  • At the command prompt, type net stop was /y.

  • At the command prompt, type net start was.

  • To restart W3SVC, from the command prompt, type net start w3svc. Also, start any other services that were stopped when WAS was shut down.

External References
This rule does not contain any external references.

See Also for Windows Internet Information Services Management Pack


Downloads for Windows Internet Information Services Management Pack

AZURE OPTIMIZATION ASSESSMENT GET STARTED
MIGRATION TO AZURE GET STARTED
SYSTEM CENTER MIGRATION TO AZURE GET STARTED
MIGRATION TO AZURE FOR SQL AND WINDOWS 2008 GET STARTED