407 Proxy Authentication

Topics: User Forum
Dec 8, 2006 at 2:01 PM

I get a 407 error when trying to do any of the following things in my code as seen below.

Line 29: //Photos microsoftPhotos = flickr.PhotosSearch(searchOptions);
Line 30: HttpWebRequest req = (HttpWebRequest)HttpWebRequest.Create("http://www.flickr.com");
Line 31: req.GetResponse();

Error Details:
Proxy Authentication Required ( The ISA Server requires authorization to fulfill the request. Access to the Web Proxy service is denied. ) (407)

Any ideas how to resolve this?


Dec 8, 2006 at 3:07 PM

WebProxy myProxy = new WebProxy("PROXY", true, myarr, new NetworkCredential("UID", "PWD", "DOMAIN"));
flickr.Proxy = myProxy;