Xmlhttp

Discussion in 'Classic ASP' started by mmenterpris, Jan 12, 2010.

Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.
  1. I am using the following from one of our asp pages and getting an "Object doesn't support this property or method" error.

    xmlReq=Server.CreateObject("MSXML2.ServerXMLHTTP")
    xmlReq.open "GET", "http://www.ohscatalog.org/recordings.html", False
    xmlReq.Send ""
    Response.Write xmlReq.ResponseText

    Any help on how to do this would be appreciated.
     
  2. Bruce

    Bruce DiscountASP.NET Staff

    which line is causing the error?
     
  3. Your post looks like JavaScript.

    The error looks like it's caused by case sensitivity on the 'send' method line - in other words, maybe Send should be send.

    See this http://support.microsoft.com/kb/290591 for more info.
     
  4. Thank you. I fixed it. I don't even want to say how stupid it was.

    (I forgot the Set before Set xmlReq=)
     
  5. mjp

    mjp

    Thanks for the follow up.
     
Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.

Share This Page