0
   

How do I get access to an xml file?

 
 
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,'','');
  • Topic Stats
  • Top Replies
  • Link to this Topic
Type: Question • Score: 0 • Views: 1,578 • Replies: 3
No top replies

 
talk72000
 
  1  
Reply Wed 18 May, 2011 12:06 pm
@ameliamcox,
It could be that the file is current in use ,or open, by you or someone else.
ameliamcox
 
  1  
Reply Wed 18 May, 2011 12:22 pm
@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.
talk72000
 
  1  
Reply Wed 18 May, 2011 04:37 pm
@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.
0 Replies
 
 

Related Topics

 
  1. Forums
  2. » How do I get access to an xml file?
Copyright © 2019 MadLab, LLC :: Terms of Service :: Privacy Policy :: Page generated in 0.03 seconds on 04/23/2019 at 02:41:31