I am using XMLHTTP object of Microsoft, to access a web server, an XML feed basically, and display it on my website. It doesnt seem to be working in ASP, however, the same thing seems to be working in VB though!! Can't understand why.
The code i am using in ASP is,
Set xmlURL=Server.CreateObject("Microsoft.XMLHTTP")
xmlURL.open "Get","xmlURL.SetRequestHeader "Content-type",Text/xml
xmlURL.send
Set xmlObj=xmlURL.responseXML
The same thing, works absolutely fine in VB syntax. I googled the web to sort the error, and found, out thay i had to register some dlls. I did that, and restarted my mac, however, not much of a use.
In VB i declare the HTTP object as MSXML2.XMLHTTP. I tried the same thing in ASP as well i.e. Server.Create(MSXML2.XMLHTTP), but no use.
Any one has a clue why??
The code i am using in ASP is,
Set xmlURL=Server.CreateObject("Microsoft.XMLHTTP")
xmlURL.open "Get","xmlURL.SetRequestHeader "Content-type",Text/xml
xmlURL.send
Set xmlObj=xmlURL.responseXML
The same thing, works absolutely fine in VB syntax. I googled the web to sort the error, and found, out thay i had to register some dlls. I did that, and restarted my mac, however, not much of a use.
In VB i declare the HTTP object as MSXML2.XMLHTTP. I tried the same thing in ASP as well i.e. Server.Create(MSXML2.XMLHTTP), but no use.
Any one has a clue why??