Classic ASP XMLUsing ASP 3 and XML. See also the XML category for more XML discussions not relating to ASP. NOT for ASP.NET 1.0, 1.1, or 2.0
Welcome to the p2p.wrox.com Forums.
You are currently viewing the Classic ASP XML section of the Wrox p2p Programmer to Programmer discussion community. This is a community of more than 40,000 computer programmers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining our free Wrox p2p community you can post your own programming questions and respond to other programmers’ questions. Registered users also don't have to see the ads that are displayed to guests. Registration is fast, simple and absolutely free so please, join today!
Join today and post to win prizes! Post more to increase your chances of being Wrox’s top poster of the month.
Permission problem encountered with xmlHTTPrequest
(1) The current problem occurs in an HTA designed to publish information to and request information from a corporate web server.
(2) The current xmlHTTPrequest is written in javascript (below).
(3) When run under Windows XP Professional Service Pack 2, no problem exists.
(4) When tested on Windows Vista Ultimate x64 Service Pack 1, a permission error appears.
(5) The line where the permission error occurs is--
var objHTTP= new ActiveXObject("Msxml2.XMLHTTP");
CODE EXCERPT:
function GetUpdateSD()
{
var objHTTP = new ActiveXObject("Msxml2.XMLHTTP");
var strURL = TOC_SD_UPDATEURL + "&" + getClientID() + "&" + generateSID() + "&";
objHTTP.open('GET',strURL,xmlHTTPreqAsynchronous);
objHTTP.onreadystatechange=xmlHTTPrequestHandler_u pdateSD;
objHTTP.setRequestHeader('Content-Type','application/x-www-form-urlencoded');
objHTTP.send(null);
}
Sam Caldwell
Round Rock, Texas 78680
email:mail@samcaldwell.net
IM: mail@samcaldwell.net (msn)
Unconventional Thinking, Unconventional Success
__________________
Sam Caldwell
Round Rock, Texas 78680
email:mail@samcaldwell.net
IM: mail@samcaldwell.net (msn)