Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

We have experienced a strange issue in SharePoint. We backed-up and restored a site collection from WebApp1 to WebApp2 and both the site collections have Publishing Features activated (BLOB CACHE was NOT Enabled)

After successful restore , none of the sites were working. Following Exception has occured

Error : Site id <> could not be found OR File not found

Solution :

In the stack trace there method sitecachesettings(guid id).....Reset the IIS, and booom every thing works fine :)

My Question :

Where is object cache stored ??? how it works?? point me any links where I can dig in deep

Thanks

share|improve this question
add comment

2 Answers

up vote 3 down vote accepted

The SharePoint object cache is stored in memory, which is why an IISReset clears it down. Depending on how you restored the site, I'd probably expect to need to do an IISReset after such an admin operation.

More details on object caching here:

http://technet.microsoft.com/en-us/library/cc298466.aspx

share|improve this answer
    
I assume when you say its memory it is infact the memory of the worker process...the two apps I mentioned in the question are running in separate worker processes..how did the restore affect the other worker process??? –  Vamsi May 14 '10 at 1:45
    
If you trigger an IISReset is clears all application pools' memory and kills all worker processes. If you only recycle one application pool without an iisreset then you only clear the object cache for that one web application. –  James Love May 14 '10 at 8:51
    
Yep, agreed that's the reason the other worker processes were cleared down. One slight clarification I'd add to James' comment would be that a specific app pool recycle would clear the object cache for all web apps running in that app pool - could be more than one. –  Chris O'Brien - MVP May 14 '10 at 9:06
    
thanks every one...I was under the impression that they were different application pools...but I cross checked today and they were sharing the same application poool :) –  Vamsi May 14 '10 at 14:07
add comment

Are they running within the same application pool?

share|improve this answer
    
@dumb: the web applications re running in same applicatons pool...so sharing memory... I was under the impression that they were different application pools..thanks –  Vamsi May 14 '10 at 14:06
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.