Click to See Complete Forum and Search --> : xml on win 2000


sireesh_pat
October 16th, 2002, 11:35 AM
Hi ,

I am facing a problem where i am successfully able to use the following code


Set objXMLDoc = server.CreateObject("Microsoft.XMLDOM")
objXMLDoc.async = False
objXMLDoc.load("http://www.leatherwallet.cc/abcleatherkingdom/objinfo.xml")
Set objXMLDoc= nothing
response.end

in my asp file in NT IIS environment, but the same code returns False for objXMLDoc.load in windows 2000 environment.

Can anybody suggest if need to do any settings in my 2000 IIS suport??

thanks
Sireesh.

Waldo2k2
October 16th, 2002, 07:29 PM
even though this is technically scripting...you'd have better luck asking this question on teh xml board here. I really don't know what's wrong with your code, it's probably just something with xml and 2000, so try the xml board.

websmith99
October 17th, 2002, 05:21 PM
Try

Set objXMLDoc = server.CreateObject("MSXML2.DOMDocument")

instead of

Set objXMLDoc = server.CreateObject("Microsoft.XMLDOM")

on Win2000.

You may be using the MSXML2 parser.