Microsoft KB Archive/833660

= IIS logging does not work and event ID 2 is logged in the system log =

Article ID: 833660

Article Last Modified on 11/21/2006

-

APPLIES TO


 * Microsoft Internet Information Services 5.0

-



SYMPTOMS
Internet Information Services (IIS) logging may not work correctly, and the extended logging properties may be blank. You may also receive an error that is similar to the following in the system log of the event viewer: Event Type: Error

Event Source: IISLOG

Category: None

Event ID: 2

Date:

Time:

User: N/A

Computer:

Description: IIS Logging was unable to create the directory. The data is the error.

Note The directory name that is listed may not contain readable text.



RESOLUTION
To resolve the problem, follow these steps:  Click Start, click Run, type cmd in the Open box, and then click OK to open a command prompt. At the command prompt, type the following command, and then click OK:

regsvr32 \system32\inetsrv\iislog.dll

 If the IISLog.dll file is successfully registered, restart the IIS services. To do this, type the following command at a command prompt, and then click OK:

iisreset

Note This event may have other causes. This article only addresses a specific instance.

Keywords: kbinprocsvr kbiisam kbprb kbconfig KB833660

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.