If some of the users are behind a proxy server it may cause a problem.
Especially authentication proxy server. If you concern about these
circumstances I suggest creating a WebRequest object and set the correct
credentials, proxy server and then get the WebResponse object.
Once you get a WebResponse object you can get the Stream and load your XML
document from that stream.
HTH,
--
Victor Hadianto
http://synop.com/Products/SauceReader/
"Gordon" <an*******@discussions.microsoft.com> wrote in message
news:43****************************@phx.gbl...
Hi,
I am wanting to read an XML file sitting on a server and
am wondering if I will run into problems with firewalls
and/or proxy servers using the following simple bit of
code:
XmlTextReader reader = new XmlTextReader
("http://www.myserver.com/myxmlfile.xml");
It works fine with my interent connection.