SharePoint 2010 Using blob caching throws many errors in the ULS and Event Logs -The system cannot find the file specified
Are you seeing several errors related to Blob Caching in the ULS Logs / Event Viewer?
Various ULS Logs errors:
· "An error occurred in the blob cache. The exception message was: 'The system cannot find the file specified. (Exception from HRESULT: 0x80070002)'."
· GetFileFromUrl: FileNotFoundException when attempting get file Url /favicon.ico The system cannot find the file specified. (Exception from HRESULT: 0x80070002) at Microsoft.SharePoint.Library.SPRequestInternalClass.GetMetadataForUrl(String bstrUrl, Int32 METADATAFLAGS, Guid& pgListId, Int32& plItemId, Int32& plType, Object& pvarFileOrFolder) at Microsoft.SharePoint.Library.SPRequest.GetMetadataForUrl(String bstrUrl, Int32 METADATAFLAGS, Guid& pgListId, Int32& plItemId, Int32& plType, Object& pvarFileOrFolder) at Microsoft.SharePoint.SPWeb.GetListItem(String strUrl, Boolean bFields, String[] fields) at Microsoft.SharePoint.Publishing.CommonUtilities.GetCurrentFileVersionFromUrl(String url, SPWeb web)
· Error in blob cache. System.IO.FileNotFoundException: The system cannot find the file specified. (Exception from HRESULT: 0x80070002) at Microsoft.SharePoint.Library.SPRequestInternalClass.GetMetadataForUrl(String bstrUrl, Int32 METADATAFLAGS, Guid& pgListId, Int32& plItemId, Int32& plType, Object& pvarFileOrFolder) at Microsoft.SharePoint.Library.SPRequest.GetMetadataForUrl(String bstrUrl, Int32 METADATAFLAGS, Guid& pgListId, Int32& plItemId, Int32& plType, Object& pvarFileOrFolder) at Microsoft.SharePoint.SPWeb.GetListItem(String strUrl, Boolean bFields, String[] fields) at Microsoft.SharePoint.Publishing.CommonUtilities.GetCurrentFileVersionFromUrl(String url, SPWeb web) at Microsoft.SharePoint.Publishing.CommonUtilities.GetPublishedFile(SPWeb web, ULSCat ulsCategory, String fileUrl, SPFile& file, SPListItem& item) at Microsoft.SharePoint.Publishing.BlobCache.<>c__DisplayClass34.<>c__DisplayClass37.<FetchItemFromWss>b__31() at Microsoft.Office.Server.Diagnostics.FirstChanceHandler.ExceptionFilter(Boolean fRethrowException, TryBlock tryBlock, FilterBlock filter, CatchBlock catchBlock, FinallyBlock finallyBlock)
· Unable to cache URL /FAVICON.ICO. File was not found
Event Log error:
Log Name: Application
Source: Microsoft-SharePoint Products-Web Content Management
Date: 7/30/2013 1:57:45 PM
Event ID: 5538
Task Category: Publishing Cache
Level: Error
Keywords:
User: CONTOSO\SPSvc
Computer: SP.contoso.com
Description:
An error occured in the blob cache. The exception message was 'The system cannot find the file specified. (Exception from HRESULT: 0x80070002)'.
Event Xml:
<Event xmlns="https://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Microsoft-SharePoint Products-Web Content Management" Guid="{0219F589-72D7-4EC3-ADF5-1F082061E832}" />
<EventID>5538</EventID>
<Version>14</Version>
<Level>2</Level>
<Task>1</Task>
<Opcode>0</Opcode>
<Keywords>0x4000000000000000</Keywords>
<TimeCreated SystemTime="2013-07-20T18:57:45.255293200Z" />
<EventRecordID>308352</EventRecordID>
<Correlation />
<Execution ProcessID="3052" ThreadID="2236" />
<Channel>Application</Channel>
<Computer>www.contoso.com</Computer>
<Security UserID="S-1-5-21-1385174992-979951090-295046656-1108" />
</System>
<EventData>
<Data Name="string0">The system cannot find the file specified. (Exception from HRESULT: 0x80070002)</Data>
</EventData>
</Event>
Status:
We are aware of this issue and are currently investigating.
This issue has been fixed as part of December CU for SharePoint 2010
KB 2849971 - SharePoint Server 2010 (SharePoint server-package)
This specific issue is described in the article KB 2849989 (which is included in the above SharePoint Server hotfix package)
The fix is as follows,
a. The Exception log entry in the ULS is no more present with default level of logging.
b. The Event viewer log entry is no more present with default level of logging.
c. The mini-dump generation has stopped.
d. We will continue to log a ‘Monitorable’ level entry.
Though few customers have confirmed the issue as resolved, we have heard back from some that the issue still persists. Investigation is on.
Blog By : Vijay Gangolli [MSFT]
Comments
Anonymous
November 04, 2013
I have started seeing this since installing SP2. Any fix for this yet?Anonymous
November 11, 2013
We do not have a fix yet. We are aware of this issue and a fix is planned in a future CU release.Anonymous
November 12, 2013
Good day, SP 2013 has similar problem:
- add big image (more than 30MB) to asset library;
- edit renditions - 0x80070002 errors in ULS and event logs with messages as above.
Anonymous
November 14, 2013
Hi, we are seeing this issue on our 2013 Environment. Do we have a fix yet?Anonymous
November 25, 2013
I have experienced this same issue after applying SP2 in our Sharepoint 2010 environment with almost identical Guid information in the details above. We have applied August 2013 CU as well. The server this event occurs on is the only server in a farm of 11 that is logging this error. I would like to understand if clearing the blob cache will circumvent the issue. If so, how would I know which web app I would need to clear the cache for since I don't understand in the details of the event how to determine which web app this is referring to. Please advise. Tim PreimesbergerAnonymous
November 25, 2013
My previouos post was intended for Vijay but if someone else wants to chime in feel free. TimAnonymous
November 26, 2013
Same here. Excessive ULS and Event viewer errors. We upgraded our farm of 4 servers to service pack 2 on 11/22. Users had issues accessing teamsites on 1 web app. We cleared blog cache per technet and that "seems" to have fixed problems accessing the webapp, BUT the errors are still rapidly occurring in both logs. Opening a MS case.Anonymous
November 26, 2013
Blob cach- 5538 started trigerring after SP 2010 - SP2 installation. We have also updated Oct CU and still issue persist. Not sure when this will resolve. Major issue what i am finding is additional SQL hit increased. Microsoft guys please help here @ d earliestAnonymous
December 03, 2013
I also have a massive amount of these errors in the event log after installing SP2. October 2013 CU doesn't fix this either...Anonymous
December 04, 2013
I just talked to Microsoft. They are aware of that bug and it's definitly coming with SP2. It will be fixed with the December 2013 CU.Anonymous
December 10, 2013
Hello is there any workaround for this issue awaiting the future CU ? Thank youAnonymous
December 10, 2013
The workaround is to deactivate the blob cache or just to ignore the errors in the event log ;)Anonymous
December 10, 2013
what if we exclude js files from blobcache settingsAnonymous
December 18, 2013
Same here on S P2010 with Service Pack 2. Any updates?Anonymous
January 01, 2014
This issue has been fixed as part of December CU for SharePoint 2010. KB 2849971 - SharePoint Server 2010 (SharePoint server-package) This specific issue is described in the article KB 2849989 (which is included in the above SharePoint Server hotfix package)Anonymous
January 10, 2014
I just finished applying the December 2013 Cumulative Update, after which I rebooted the server. Unfortunately I am still seeing error event 5538 in the application event log. Here's the message: An error occured in the blob cache. The exception message was 'Item does not exist. It may have been deleted by another user.'.Anonymous
January 10, 2014
I just finished installing the December 2013 CU but I am still getting the error related to blob cache. An error occured in the blob cache. The exception message was '<nativehr>0x80070002</nativehr><nativestack></nativestack>'.Anonymous
February 05, 2014
The fix for this for me was NOT the December 2013 CU as was recommended by Microsoft support but the following. I'm curious if others find the same thing. I'm also wondering why this would have been modified as part of applying SP2. In the web.config file blob cache was set to true. After changing to false the 5538 errors disappeared. <BlobCache location="C:BlobCache14" path=".(gif|jpg|jpeg|jpe|jfif|bmp|dib|tif|tiff|ico|png|wdp|hdp|css|js|asf|avi|flv|m4v|mov|mp3|mp4|mpeg|mpg|rm|rmvb|wma|wmv)$" maxSize="10" enabled="true" /> It was strange in that only one of 3 WFE's in my environment was logging the 5538 error and the other two WFE's blob cache was set to false. Special thanks to Will for finding this. TimAnonymous
February 06, 2014
Tim, setting blobCache to false means you're not using the blobCache anymore. Therefore SharePoint is not utilizing the feature, there's no error associated with it. Applying December 2013 CU did not fully correct the issue. Microsoft, please correct this.Anonymous
February 07, 2014
Thank you Sam.....this for us is a catch 22. We NEED the performance at our WFE's and therefore this should be set to "true" however; 5538 events just bombard the event log when enabled.Anonymous
February 12, 2014
Hi gents, any update from Microsoft?Anonymous
February 17, 2014
Any fix or work around for this yet. We logged a call with MS and they say its fixed in Dec CU 2013 but it doesn't look like its the case reading other posts. Any idea if we disable JS cache that the error will disappear?Anonymous
February 19, 2014
Microsoft, until BlobCache gets fixed. What are your recommendations to avoid Ev Id 5538?Anonymous
February 22, 2014
Hi, Seems that the bug also affects user profile service, when it runs, and the user deleted its picture in the meantime. GetFileFromUrl: FileNotFoundException when attempting get file Url /mysite/User Photos/Profile Pictures/yyyy_xxxxx_LThumb.jpg The system cannot find the file specified. (Exception from HRESULT: 0x80070002) at Microsoft.SharePoint.Library.SPRequestInternalClass.GetMetadataForUrl(String bstrUrl, Int32 METADATAFLAGS, Guid& pgListId, Int32& plItemId, Int32& plType, Object& pvarFileOrFolder) at Microsoft.SharePoint.Library.SPRequest.GetMetadataForUrl(String bstrUrl, Int32 METADATAFLAGS, Guid& pgListId, Int32& plItemId, Int32& plType, Object& pvarFileOrFolder) at Microsoft.SharePoint.SPWeb.GetListItem(String strUrl, Boolean bFields, String[] fields) at Microsoft.SharePoint.Publishing.CommonUtilities.GetCurrentFileVersionFromUrl(String url, SPWeb web) Error in blob cache. System.IO.FileNotFoundException: The system cannot find the file specified. (Exception from HRESULT: 0x80070002) at Microsoft.SharePoint.Library.SPRequestInternalClass.GetMetadataForUrl(String bstrUrl, Int32 METADATAFLAGS, Guid& pgListId, Int32& plItemId, Int32& plType, Object& pvarFileOrFolder) at Microsoft.SharePoint.Library.SPRequest.GetMetadataForUrl(String bstrUrl, Int32 METADATAFLAGS, Guid& pgListId, Int32& plItemId, Int32& plType, Object& pvarFileOrFolder) at Microsoft.SharePoint.SPWeb.GetListItem(String strUrl, Boolean bFields, String[] fields) at Microsoft.SharePoint.Publishing.CommonUtilities.GetCurrentFileVersionFromUrl(String url, SPWeb web) at Microsoft.SharePoint.Publishing.CommonUtilities.GetPublishedFile(SPWeb web, ULSCat ulsCategory, String fileUrl, SPFile& file, SPListItem& item) at Microsoft.SharePoint.Publishing.BlobCache.<>c__DisplayClass34.<>c__DisplayClass37.<FetchItemFromWss>b__31() at Microsoft.Office.Server.Diagnostics.FirstChanceHandler.ExceptionFilter(Boolean fRethrowException, TryBlock tryBlock, FilterBlock filter, CatchBlock catchBlock, FinallyBlock finallyBlock)Anonymous
June 09, 2014
We deployed March, April & May 2014 Security Patches to SharePoint Servers which upgraded SP databases to 14.0.7123.5000. We do not see any BlobCache issue and no Event Ids 5538 anymore. I also have checked that BlobCache folder is being populated as content is uploaded. I do not know which patch fixed it as description of patches does not indicate any fix to BlobCache. If you find out Security update #, let us all know. Thanks, Waqar