Reply
Wed 18 May, 2011 12:05 pm
I am trying to access a xml file but it says denial of access, but the file is not password protected. Please help.
if (window.XMLHttpRequest)
{// code for IE7+, Firefox, Chrome, Opera, Safari
xmlhttp=new XMLHttpRequest();
}
else
{// code for IE6, IE5
xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");
}
xmlhttp.open("GET","test.xml", false,'','');
@ameliamcox,
It could be that the file is current in use ,or open, by you or someone else.
@talk72000,
I am the only one that can access the file and I don't have it open.
Here is the error:
Error: Access is denied.
Thank you so much for answering.
@ameliamcox,
I have that happen to me. Sometimes I just shutdown the computer and restart. Firefox does that often. It is probably working in the background.