EnterpriseLibrary Caching

Jul 2, 2007 at 6:11 PM
I am getting an error "could not find file" in th following line

CacheManager cache = CacheFactory.GetCacheManager();

But the same code is working in other system.

This error i get when i am reading from cache. I am not getting this error while i am writing to the cache.



Please help me on this.

Please find the following error message.



System.IO.FileNotFoundException was unhandled
Message="Could not find file 'InboundLogistics\\-1208129235\\ScPr'."
Source="mscorlib"
FileName="InboundLogistics\\-1208129235\\ScPr"
StackTrace:
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy)
at System.IO.IsolatedStorage.IsolatedStorageFileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, IsolatedStorageFile isf)
at System.IO.IsolatedStorage.IsolatedStorageFileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, IsolatedStorageFile isf)
at Microsoft.Practices.EnterpriseLibrary.Caching.BackingStoreImplementations.IsolatedStorageCacheItemField.Read(Boolean encrypted)
at Microsoft.Practices.EnterpriseLibrary.Caching.BackingStoreImplementations.IsolatedStorageCacheItem.Load()


Thanks in advance for your kindly help.





Regards,



Ramesh Babu
Jul 2, 2007 at 10:05 PM
This forum is for CodePlex web site issues and discussion only. Please re-post your question in the appropriate project's forums.

Thanks!