Cannot Clear Cache

Topics: Help
Mar 2, 2012 at 2:17 PM

When I press the "Clear All" button on "cache" tab, I receive the following message.  "Access to path 'System.Data.SqlLite.DLL' is denied."  I'm assuming this is some sort of permissions error.  How can I clear my cache?

Mar 2, 2012 at 4:57 PM

it's cleared, but because it's ony demo app, all kind of messages are expected ;} don't worry

Mar 5, 2012 at 7:02 PM

I'm not clear on this answer.  I created my own app.  I'm allowing the user to select an area and click save.  Once they click save, I clear the cache and the perform a prefetch.  Once the prefetch is complete, I perform an export.  The problem is, I cannot clear the cache because I receive the 'Access to path is denied'.  How can I clear the cache, so when I perform a prefetch then export, I'm only saving data the user wanted.

Mar 6, 2012 at 7:54 AM

try: MainMap.Manager.PrimaryCache.DeleteOlderThan(DateTime.Now, null);

Mar 6, 2012 at 7:19 PM

Works like a charm.  Thanks.  BTW, awesome control.