Event ID 2221 — IIS W3SVC Activity
Applies To: Windows Server 2008 R2
In order to perform its activities successfully, the Internet Information Services (IIS) World Wide Web Publishing Service (W3SVC) must be free of any I/O errors involving file access, memory availability, and network connections. In addition, any scripts that are used must be accessible and runnning, and any include files must be configured correctly.
Event Details
Product: | Internet Information Services |
ID: | 2221 |
Source: | Microsoft-Windows-IIS-WMSVC |
Version: | 7.5 |
Symbolic Name: | W3_MSG_SSI_TOO_MANY_NESTED_INCLUDES |
Message: | A server side include file has included itself or the maximum depth of server side includes has been exceeded. |
Resolve
Remove nested includes
Possible resolutions of nested includes include the following:
- Check if a server-side include file has included itself.
- Check if maximum depth of server-side includes has been exceeded.
Check if a server-side include file has included itself
To check if a server-side include file has included itself:
Review server-side include files to ensure that no server-side include file includes itself. For example, the following line is in a server-side include file that is named myInclude.inc:
<!-- #include file = "myInclude.inc" -->
Remove or replace any #include directive that includes itself.
Check if maximum depth of server-side includes has been exceeded
To check if maximum depth of server-side includes has been exceeded:
- Review server-side include files to ensure that no server-side include file exceeds the maximum depth of server-side includes.
- Remove any #include directives that exceed the maximum depth.
Verify
To perform this procedure, you must have membership in Administrators, or you must have been delegated the appropriate authority.
To verify that the World Wide Web Publishing service is running:
- 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 sc query w3svc, and press ENTER. The World Wide Web Publishing service is running if the state reported for the service is 4 RUNNING.