503-Internal Server Error – The Module DLL Failed to Load

Filed Under (IIS, Microsoft Windows) by Milind on 11-12-2009

Tagged Under : , , , , , , , , , ,

Recently while working I faced an issue where the website (IIS 7) was showing 503-Internal Server Error. Checking Event viewer shown following Events for IIS

The Module DLL C:Program FilesIISAdvanced LoggingClientLoggingHandler.dll failed to load.  The data is the error.
The Module DLL C:Program FilesIISAdvanced LoggingAdvancedLoggingModule.dll failed to load.  The data is the error.

Complete Event in Event Viewer was

Log Name:      Application
Source:        Microsoft-Windows-IIS-W3SVC-WP
Date:          12/8/2009 11:33:23 AM
Event ID:      2280
Task Category: None
Level:         Error
Keywords:      Classic
User:          N/A
Computer:      WIN-AD50B4LJ2SU
Description:
The Module DLL C:Program FilesIISAdvanced LoggingAdvancedLoggingModule.dll failed to load.  The data is the error.

Both the DLL’s which were mentioned in the Event we present in respective Directories but still IIS was not able to detect them. So, to fix the issue

1) Copy “C:Program_FilesIISAdvanced_LoggingClientLoggingHandler.dll” and “C:Program_FilesIISAdvanced_LoggingAdvancedLoggingModule.dll” to %windir%System32

2) Edit C:WindowsSystem32inetsrvconfigapplicationHost.config and Search for following Lines

add name="ClientLoggingHandler" image="%ProgramFiles%IISAdvanced LoggingClientLoggingHandler.dll"
add name="AdvancedLoggingModule" image="%ProgramFiles%IISAdvanced LoggingAdvancedLoggingModule.dll"

and change it to

add name="ClientLoggingHandler" image="%windir%System32ClientLoggingHandler.dll"
add name="AdvancedLoggingModule" image="%windir%System32AdvancedLoggingModule.dll"

3) Restart IIS

No related posts.

Leave a Reply

You must be logged in to post a comment.

Sponsers

Advertisement

Email Subscription

Enter your email address:

Delivered by FeedBurner


Become Fan

tag cloud