This project has moved and is read-only. For the latest updates, please go here.

Acces Deined

Jan 20, 2011 at 3:05 PM

I have application with flickrnet, in local all ok but when publishing on the web (Hostin aruba) i have proble "access deined"

System.UnauthorizedAccessException: Accesso al percorso 'FlickrNet' negato.

If i set Flickr.CacheDisabled = true;  function but is more slow

can see the application on (now function because i have set Flickr.CacheDisabled = true; but is slow)

any idea?


Jan 20, 2011 at 3:18 PM

Set the CacheLocation to a directory that your application has write permissions to, or create such a directory.

If you cannot write to the hard drive then you will have to keep caching disabled I'm afraid.


Jan 20, 2011 at 3:19 PM

can you tell me where and code to set chachelocation? thanks

Jan 20, 2011 at 3:23 PM

Flickr.CacheLocation can be set where you are setting Flickr.CacheDisabled.

Or you can set it in the web.config file - see here:

Jan 20, 2011 at 3:58 PM

the sintax correct :

i have permess on folder public but don't work, thanks

Jan 20, 2011 at 4:01 PM

If 'public' is a folder then it should be "C:\public\cache" or perhaps Server.MapPath("/public/cache").

"\\public\cache" is looking for a network share called "cache" on a machine called "public" - not what you are trying to do I suspect.


Jan 20, 2011 at 4:07 PM


Now function



Jun 5, 2011 at 9:32 PM

Why doesn't this condition simply result in a cache miss?

Other than it generally being better to check for error conditions than to throw, it seems like, heaven forbid, if something happens to that file or system, it would be better to be a cache miss and actually make the call to Flickr than an unhandled exception where the app will no longer be able execute.

Jun 17, 2011 at 9:33 AM

If access is denied I think it should still raise an exception.

If the cache file is corrupt I think it already carries on and just overwrites it.