Tuesday, June 12, 2012

Publishing Cache Error, Event Id 5785

In one of my WFE event viewer, I received the following error continously

Event Type: Error
Event Source: Office SharePoint Server
Event Category: Publishing Cache
Event ID: 5785
Date:  
Time:  9:30:46 AM
User:  N/A
Computer: xxxxx
Description:
Unable to connect publishing custom string handler for output caching. IIS Instance Id is '1851498615', Url is 'http://url/_layouts/images/*.GIF'.
For more information, see Help and Support Center at
http://go.microsoft.com/fwlink/events.asp.

The reason for this error is that, the images inside the layouts folder was not able to be cached by sharepoint.

Following is the resolution for it.

Open the web.config file, look for <location path="_layouts/images">
just before the </System.Web> tag place the following code

<httpmodules>
<remove name="PublishingHttpModule">
</httpmodules>

 From now on, the error will not appear in the event viewer.
Thanks for the blog post which helped me in solving this issue.

No comments:

Post a Comment