This article was previously published under Q279754
When you start the Event Viewer tool, you may receive the following error message:
Could not start the Event Log service on [computer name].
When you attempted to manually start the Event Log service, you may receive the following error message:
Error 0126: The specified module could not be found.
This behavior can occur if the Eventlog.dll file is missing from the %Systemroot%\System32 folder and/or the %Systemroot%\System32\Dllcache folder.
To resolve this behavior, use either of the following methods:
Insert the appropriate Windows 2000 CD-ROM into the CD-ROM drive.
When the Autorun Wizard is displayed, click Cancel.
Click Start, and then click Run.
In the Open box, type: cmd, and then press ENTER.
At a command prompt, type: sfc /purgecache, and then press ENTER.
IMPORTANT: This command runs the System File Checker (SFC) tool, which purges the Dllcache folder and scans all system-protected files. If a file is not found or it is corrupt, the file is replaced by SFC.
NOTE: If you run SFC on a computer that has Service Pack 1 for Windows 2000 installed, SFU may consume CPU resources and it may take much time to complete its task. You must let SFC finish before you proceed onwards.
After SFC has completed, at a command prompt, change folders to %Systemroot%\System32\Dllcache (that is, the C:\Winnt\System32\Dllcache folder).
Copy the Eventlog.dll file from the Dllcache folder to the %Systemroot%\System32 folder (that is, copy the file in the C:\Winnt\System32\Dllcache\Eventlog.dll folder to the C:\Winnt\System32 folder).
Click Start, point to Programs, click Administrative Tools, and then click Services.
Locate and right-click Event Log service, and then click start. The service should start.
Run the Event Viewer tool.
Click Start, click Search, and then click For Files or Folders.
In the Search for files or folders named: box, type: eventlog.dll, and then click Search Now.
NOTE: There should be two instances of the file: one in the %Systemroot%\System32 folder and the other in the %Systemroot%\System32\Dllcache folder.
The %Systemroot%\System32\Dllcache folder is a hidden folder under the System32 folder. On the View tab, click Folder Options, and then click to select the Show hidden files and folders check box.
If the file is in the %Systemroot%\System32\Dllcache folder and not in the %Systemroot%\System32 folder, copy the file from the Dllcache folder to the System32 folder, and then attempt to restart the Event Log service.
If the file is not in either location, restore the file from the CD-ROM.To properly restore the Eventlog.dll file:
Insert your Windows 2000 CD-ROM in your CD-ROM drive.
Click Start, click Run, in the Open box, type: cmd, and then press ENTER.
At a command prompt, type the following command, where [CD-ROM drive] is the drive letter for the CD-ROM drive, [file_name] is the name of the .dll file, and [drive_letter] is the drive letter where the Temp folder is located (for example, type: "expand e:\i386\eventlog.dl_ c:\temp\eventlog.dll" [without the quotation marks]):