You might want to look at this[^] about a probloem while using HttpWebRequest in an ASP.NET page. As for the proxy, did you see, in Intellisense, that HttpWebRequest has a .Proxy property? You can learn more about that here[^]. By default, a WebRequest is created using the default browser proxy settings. If IE (on your IIS server!) doesn't have a proxy configuration, you'll have to specify one in your code.
HttpWebRequest request = (HttpWebRequest)WebRequest.Create(url);
Uri newUri = new Uri(@"proxyAddressAsString");
WebProxy myProxy = new WebProxy();
myProxy.Address = newUri;
myProxy.Credentials = new NetworkCredential(@"username",@"password");
request.Proxy = myProxy;
RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome