I need some help with XML HTTP object. I am using the following code to retrieve the HTML in a string of a specified URl. For some reason it doesn't work for the website i need. https://www.dallascounty.org/servlet/padb1#
At first i thought that this doesn't work with Https url's but i have tried with many and it did. When i use the above URl it gives me a 500 Servlet exception.
I am using this in ASP.
Response.Buffer = True
Dim objXMLHTTP, xml
' Create an xmlhttp object:
Set xml = Server.CreateObject("Microsoft.XMLHTTP")
' Or, for version 3.0 of XMLHTTP, use:
' Set xml = Server.CreateObject("MSXML2.ServerXMLHTTP")
' Opens the connection to the remote server.
xml.Open "GET", "http://www.4Guysfromrolla.com/", False
' Actually Sends the request and returns the data:
'Display the HTML both as HTML and as text
Response.Write "<h1>The HTML text</h1><xmp>"
Response.Write "</xmp><p><p><h1>The HTML Output</h1>"
Set xml = Nothing
I'll appreciate your response and if it cannot be done pls if u have any information about retrieving the String of URLS like the one i mentioned? do let me know.