asp.net mvc - Custom control for flickr is not works on the production server but it works on the development server -


we developed site named donmueang.com; site contains 2 custom controls named youtube control , flickr control. our problem 2 custom controls runs on development server flickr control not work on production server.

what actual problem?

i figured out. has flickr api tries store it's cache. default tries create directory , store file in logged in user's applicationdata folder. since production servers not grant access application folder, flickr api not load correctly.

the fix me, since i'm using asp.net flickr api, add entry web.config file:

<flickrnet cachelocation="e:\inetpub\[mywebappdirectory]\flickr_cache\"></flickrnet>

hope helps.


Comments

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -