407 Proxy Authentication

Topics: User Forum
Dec 8, 2006 at 3:01 PM
Hi,

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?

Thanks!


Dec 8, 2006 at 4:07 PM
solved...

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