I have the following code to load an XML doc from a website (hosted by one.com). Issue: i get an error "Unable to connect to the remote server". I checked several posted regarding the same error message, but the suggestions don't work. If I enter the URL in my web browser it views the XML file.
public partial class WebForm1 : System.Web.UI.Page
{
private XmlDocument dbKAA;
private XmlElement root;
public WebForm1()
{
}
protected void Page_Load(object sender, EventArgs e)
{
//LOAD XML
XmlDocument dbKAA = new XmlDocument();
dbKAA.Load("http://www.something.com/XMLfile.xml");
root = dbKAA.DocumentElement