The Global Modules list is empty Rule

  • ID:  Microsoft.Windows.InternetInformationServices.2008.The.Global.Modules.list.is.empty
  • Description:   
  • Target:  IIS 7 Web Server
  • Enabled:  On Essential Monitoring

Overridable Parameters

Parameter Name Default Value Description Override
Priority 1  
Severity 1  

Run As Profiles

Name
Default

Rule Knowledgebase

Summary

Internet Information Services (IIS) 7 enables developers to easily configure native and managed code modules that process requests made to the Web server. In order for worker processes to load them, the modules must be configured correctly. Proper module configuration requires that the module have a unique name, and a valid type or path. Managed modules can specify whether they should be invoked only for requests to ASP.NET applications or managed handlers. When specified, this setting can optimize performance.

Causes
This rule does not contain any causes.
Resolutions

Define a global module

In order for IIS to be able to serve requests successfully, there must be at least one global module defined in the in the globalModules section in the ApplicationHost.config file. The module definition must have a unique name attribute for the module and an image attribute that specifies the file system path of the .dll file that contains the global module.

Add a global module definition to ApplicationHost.config

To add a global module definition to ApplicationHost.config by using notepad:

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

  • Type cd %Windir%\system32\inetsrv\config

  • Type notepad applicationHost.config

  • In notepad, search for the globalModules section under the system.webServer section.

  • Add a module entry that contains the name and image attributes. An example is shown in the following section.

  • Save the ApplicationHost.config file, and exit notepad.

Sample Global Module Definition

<globalModules>

   <add name="AccessCheckModule"

        image="D:\Windows\system32\inetsrv\checkacc.dll"

        preCondition=""

   />

</globalModules>

For more information about the globalModules section, see IIS 7: add Element for globalModules (IIS Settings Schema).

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