SQLitePureImageCache, moving data: System.IO.IOException: Cannot create a file when that file already exists.

Topics: Bugs
Nov 1, 2010 at 3:37 AM

I got this message on cache.cs line 101, I already got a newcache directory, maybe you can delete the new directory first? or just check if the directory already exist.

                      if (Directory.Exists(newCache))

                     Directory.Move(oldCache, newCache);
                  CacheLocation = newCache;

Nov 2, 2010 at 9:59 PM


Nov 15, 2010 at 4:34 PM


I also got this exception when I'm starting my application since I updated from version to the hot build version 377e89571f0d from today.

Another exception I get is when everything is loaded it shows:

Exception: The type initialize for 'SingletonCreator' threw an exception

After searching the discussions I found the hint to the documentation regartin .NET4.0, but that doesn't help.

Do you have any ideas what causes this problem?


Nov 15, 2010 at 4:54 PM

cache location should be ok now

Nov 15, 2010 at 5:30 PM

Cache location works for me now.

But I still got the other exception.

Nov 15, 2010 at 5:59 PM

please explain?

Nov 15, 2010 at 6:14 PM

I just got it to run.

Somehow I was missing some references.

Nov 15, 2010 at 6:24 PM

i see ;}