Page Cannot be displayed due to msxml3.dll (0x800C0005)

Posted on 2005-04-07
Last Modified: 2012-05-05
My Code which used to work all along for years has recently been acting up
    option explicit
    Dim RefPage, objXMLHTTP, HTMLPage
    RefPage = Request.QueryString("ref")
    if Len(RefPage) = 0 or not Left(RefPage,7) = "http://" then
          response.write "<font face=verdana size=2>Invalid reference page - " & RefPage & "</font>"
    end if
    Set objXMLHTTP = Server.CreateObject("Microsoft.XMLHTTP")
          objXMLHTTP.Open "GET", RefPage, False
          HTMLPage = objXMLHTTP.responseText
    Set objXMLHTTP = Nothing

What I am trying to do here is just merely grab TEXT from my own webpage and display as TEXT for Printing purposes only/

Error Type:
msxml3.dll (0x800C0005)
The system cannot locate the resource specified.

I have searched Google... and found very few similar comments, but hardly any solution. I also know that similar query was done here but not with the same server screenscraping issue.

Question by:snensi
    LVL 10

    Accepted Solution

    Hi snensi,

    take a look at this thread, it may help

    LVL 18

    Assisted Solution

    Hmm, maybe you've changed the XML parser version somehow? Here's a page that will display the versions available on your server (click this from your server if possible):

    Here's some code that will use the correct XMLHTTP object (or I guess the first XMLHTTP object that does not error):

    Some code to use the correct XML version:

         On Error Resume Next

         Set objXML = Server.CreateObject("MSXML2.ServerXMLHTTP.4.0")
         If (Err) Then
              Set objXML = Server.CreateObject("MSXML2.ServerXMLHTTP.3.0")
         End If

         If (Err) Then
              Set objXML = Server.CreateObject("MSXML2.ServerXMLHTTP")
         End If

         If (Err) Then
              Set objXML = Server.CreateObject("Microsoft.XMLHttp")
         End If
         On Error Goto 0

    LVL 6

    Expert Comment

    No comment has been added to this question in more than 21 days, so it is now classified as abandoned..
    I will leave the following recommendation for this question in the Cleanup topic area:
    Split: lengreen & SquareHead

    Any objections should be posted here in the next 4 days. After that time, the question will be closed.

    EE Cleanup Volunteer

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    Hello, all! I just recently started using Microsoft's IIS 7.5 within Windows 7, as I just downloaded and installed the 90 day trial of Windows 7. (Got to love Microsoft for allowing 90 days) The main reason for downloading and testing Windows 7 is t…
    I would like to start this tip/trick by saying Thank You, to all who said that this could not be done, as it forced me to make sure that it could be accomplished. :) To start, I want to make sure everyone understands the importance of utilizing p…
    Need more eyes on your posted question? Go ahead and follow the quick steps in this video to learn how to Request Attention to your question. *Log into your Experts Exchange account *Find the question you want to Request Attention for *Go to the e…
    Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…

    759 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    14 Experts available now in Live!

    Get 1:1 Help Now