I hope this is the proper place to put this, but there is no specfic Server 2003 or classic asp section.
Im researching Windows Server 2003. Basically, making sure all our existing classic asp stuff will work fine. Everything I tested so far has worked, except for some xml capabilities.
The xml object supposedly comes preinstalled, but I downloaded the package from MS and installed it anyway. Now, I can create an xml dom object fine. Ex. set oXMLDoc = server.createobject("Msxml2.DOMDocument") But, when I try to load an xml source from the internet the load method always returns false. And, when I load some xml from a local file, it works fine.
Just to make sure its not the xml source itself I dropped the url in IE and it loaded fine.
Here is the sample code I'm using. Very basic stuff..
<%
dim oXMLDoc
set oXMLDoc = server.createobject("Msxml2.DOMDocument")
response.write("vartype=" & vartype(oXMLDoc) & "<br>")
oXMLDoc.async = false
oXMLDoc.resolveExternals = false
response.write(server.mappath("test.xml") & "<br>")
response.write(oXMLDoc.load(server.mappath("test.xml")))
response.write(oXMLDoc.load("http://p.moreover.com/cgi-local/page?c=Top%20stories&o=xml_1"))
%>
Im assuming this is something to do with some security settings in IIS 6. Can someone please help, or at least point me in the right direction. I have been working on this for a few days now and I have exausted all posibilities.
TIA
Eric Stephani