CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3

Thread: xml on win 2000

  1. #1
    Join Date
    Oct 2002
    Posts
    5

    Unhappy xml on win 2000

    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.

  2. #2
    Join Date
    Jul 2002
    Location
    Don't Know, Don't Care
    Posts
    346
    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.

    C G C F A D--Feel the Noise

    "When your life goes nowhere and leads back to me, doesn't that tell you something?"
    ~Gray Area Fury

  3. #3
    Join Date
    Aug 2002
    Location
    Reykjavik, Iceland
    Posts
    201
    Try

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

    instead of

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

    on Win2000.

    You may be using the MSXML2 parser.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured