Event ID 2221 — IIS W3SVC Activity
Applies To: Windows Server 2008
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.
|Product:||Internet Information Services|
|Message:||A server side include file has included itself or the maximum depth of server side includes has been exceeded.|
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.
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.