Wednesday, November 21, 2012

Event ID 7888 Runtime Exception Thread was being aborted and Event ID 5538 an error occurred in the blob cache

Errors: You will see the below error messages in the event viewer.
Event Type: Error
Event Source: Office SharePoint Server
Event Category: Office Server General
Event ID: 7888
Date:  9/14/2010
Time:  2:31:08 PM
User:  N/A
Computer: SPSMOSS20071
Description:
A runtime exception was detected. Details follow.
Message: Thread was being aborted.
Techinal Details:
System.Threading.ThreadAbortException: Thread was being aborted.
   at System.Threading.ReaderWriterLock.AcquireWriterLockInternal(Int32 millisecondsTimeout)
   at Microsoft.SharePoint.Publishing.BlobCache.<>c__DisplayClass14.<>c__DisplayClass17.b__11()
   at Microsoft.Office.Server.Diagnostics.FirstChanceHandler.ExceptionFilter(Boolean fRethrowException, TryBlock tryBlock, FilterBlock filter, CatchBlock catchBlock, FinallyBlock finallyBlock)
---------------------------------------------------------------------------------------------------------------------
Event Type: Error
Event Source: Office SharePoint Server
Event Category: Publishing Cache
Event ID: 5538
Date:  9/14/2010
Time:  2:31:08 PM
User:  N/A
Computer: SPSMOSS20071
Description:
An error occured in the blob cache.  The exception message was 'Thread was being aborted.'.
Resolution 1:
Flush the blob cache to ensure that the fix can take place on a new, fresh cache
- set the NTFS permissions for "WSS_WPG" group with "full permissions" of the defined Blobcache folder
- change the values in web.config as recommended in this sample here:
BlobCache location="E:\blobcache" path="\.(gif|jpg|png|css|js|htc|)$ " maxSize="10" max-age="86400" enabled="true"/


Resolution 2:
This could also be a database permission issue.
Write down the name of the content database of the Sharepoint site, on which we are receiving this error from Sharepoint Central Admin -> Application Management
-> Sharepoint Web Application Management -> Content Databases ->  Select that URL or Web Application from the list
Go to SQL 2005 Management Studio -> select that  database - properties - write down the location
If you are using SSEE, we may need to download the SQL 2005 Management Studio Express (SSMSE) , to perform this operation
Go to that location, go a level up, i.e. if the location is something like
d:\SQLDATA, go to D:\ level and add ‘Authenticated Users’ with default permissions,
i.e. ‘Read & Execute’, ‘List Folder Contents’ and ‘Read’
If  you have any queries/questions do let me know.

No comments:

Post a Comment