photos = flickr.PhotosSearch(searchOptions) has WebException: the operation has timed out

Topics: Developer Forum, Project Management Forum, User Forum
Nov 9, 2007 at 3:10 AM
Hi,

Few days ago, I run my program, it worked fine, but now this function flickr.PhotosSearch(searchOptions) get timed out all the time. I wrote my program in Microsoft Visual Studio 2005 using C#. The error message is :

System.Net.WebException: The operation has timed out.
at System.Net.ConnectionStream.Read(Byte[] buffer, Int32 offset, Int32 size)
at System.IO.StreamReader.ReadBuffer()
at System.IO.SreamReader.ReadToEnd()
at FlickrNet.Flickr.DoGetResponse(String url, String vaiables) in F:\My Documents\Visual Studio Projects\FlickrNet\FlickrNet\Flickr.cs:line 464
at FlickrNet.Flickr.GetResponse(Hashtable parameters, TimeSpan cachedTimeout) in F:\My Documents\Visual Studio Projects\FlickrNet\FlickrNet\Flickr.cs:line 587
at FlickrNet.Flickr.GetResponseCache(Hashtable parameters) in F:\My Documents\Visual Studio Projects\FlickrNet\FlickrNet\Flickr.cs:line 523
at FlickrNet.Flickr.PhotoSearch(PhotoSearchOptions options) in F:\My Documents\Visual Studio Projects\FlickrNet\FlickrNet\Flickr.cs:line 3447
.....

I downloaded FlickrNet.dll on this page http://www.codeplex.com/FlickrNet/Release/ProjectReleases.aspx?ReleaseId=3420 and used Release version

Would you please help me how to solve this Exception?

Many thanks.
Coordinator
Nov 9, 2007 at 12:53 PM
Do other calls to Flickr work?

What happens if you change the search options (like ask for less photos per page or something)?

Has anything changed with your network connection, new proxy server, different PC?

Maybe Flickr was having problems - if you try it now does it still fail?
Nov 11, 2007 at 1:50 AM
Hi,

I think Flickr had problems. Now my program runs fine.

Thanks very much,