ablazso
asked on
MSXML2.XMLHTTP fails in Windows 2003 but works OK in Windows 2000. How dow I fix this problem on the 2003?
In my code I have a postXML java script function that works OK when my code is executed on a Windows 2000 server with IIS 5.0, however the same code does not work on a Windows 2003 server that comes with iIIS 6.0 and msxml4 (sp 4) installed. Is this a 2003 setup/security problem, or, it is a java script problem?
function postXML (url, xmlDocument) {
var httpRequest;
try {
httpRequest = new ActiveXObject('Msxml2.XMLH TTP');
httpRequest.open('POST', url, false);
httpRequest.send(xmlDocume nt);
return httpRequest;
}
catch (e) {
alert("(IE) - " + e);
return null;
}
}
</script>
I am not very familiar with Windows 2003, so please advise accordingly!
function postXML (url, xmlDocument) {
var httpRequest;
try {
httpRequest = new ActiveXObject('Msxml2.XMLH
httpRequest.open('POST', url, false);
httpRequest.send(xmlDocume
return httpRequest;
}
catch (e) {
alert("(IE) - " + e);
return null;
}
}
</script>
I am not very familiar with Windows 2003, so please advise accordingly!
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Yes, you are correct the java scrip runs on the client's browser, but it works correctly, as is, if it is from the Linux server or Windows 2000 server. I would leave the program on either of these, if it were not for the HTML to PDF conversion with embedded fonts I absolutely must have. Would you like to see the two html programs? I am willing to e-mail it to you or use whatever delivery means you prefer!@
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Ok, I shall!
Unfortunatelly, the server is down for some software and hardware upgrage today!
Unfortunatelly, the server is down for some software and hardware upgrage today!
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
OK I am willing to...! But what should I replace it with? Can you point me to some write-up or documentation on some newer stuff?
On the other hand, my simplistic programs works just fine! Why finx if it ain't broke?
On the other hand, my simplistic programs works just fine! Why finx if it ain't broke?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER