FlickrNet Access Denied on IIS 7.5

Topics: Developer Forum, User Forum
May 14, 2011 at 11:54 PM
Edited May 14, 2011 at 11:57 PM

Hi.

First of all thanks for such a helpful library. And helpful documentation too.

I have made my application according to my needs. its running fine on my local IIS. When I host my web on Shared Hosting that have IIS 7.5, It gives me error for Accesmbly

FlickrNet Access Denied

I have read the discussion board on codeplex and found two ways to done that Like in My CS

           Flickr.CacheDisabled = true;
           Flickr flickr = new Flickr();
           flickr.ApiKey = ConfigurationManager.AppSettings["FLICKERKEY"];
           flickr.ApiSecret = ConfigurationManager.AppSettings["FLICKERSECRET"];
           string flickrFrob;
           flickrFrob = flickr.AuthGetFrob();
           string url = flickr.AuthCalcUrl(flickrFrob, FlickrNet.AuthLevel.Write);
           System.Diagnostics.Process.Start(url);

 

And By Creating A Key in Webconfig for flicker Like

 

<configSections> 
	<section name="flickrNet" type="FlickrNet.FlickrConfigurationManager,FlickrNet"/>
</configSections>
<flickrNet cacheDisabled="true" />

By Doing This Its Not Redirecting And Throwing Any Error Too.

Please help me in this regard. Thank You
Coordinator
May 15, 2011 at 8:44 AM

You can't use Process.Start for a web app - that would try to start a copy of IE on the server, not redirect the current web user.

You probably want to use Response.Redirect(url) instead.

Sam