Forum Moderators: open
I am using MSXML2.XMLHTTP.4.0 to retrieve data from an eternal web page (other domain) and displaying the contents in my local web page. This works perfectly when I run it from my local system. When I upload it to my Web Server and access it, then it does not work. The following is the code:
var objSrvHTTP;
objSrvHTTP = new ActiveXObject("Msxml2.XMLHTTP.4.0");
objSrvHTTP.open ("GET",theURL,false);
I am getting the "access denied" error exactly at the third line where the URL is passed. Can anyone help me with this?
Also, please let me know if there are any other methods to retrieve the data without using Msxml2.XMLHTTP.4.0.
Thank you!
aries
I could have a stab at it using ASP with JScript, but your best bet would be to head off to the ASP forum [webmasterworld.com ] to find out if it's possible, and if so, how it's done.
Good luck