troubleshooting Question

Server.CreateObject("Microsoft.XMLHTTP") failed

Avatar of Biffy
Biffy asked on
Web Languages and Standards
4 Comments1 Solution2887 ViewsLast Modified:
Hi

I am getting the following error from an ASP script:

Server object error 'ASP 0177 : 80004005'

Server.CreateObject Failed

--filename edited---, line 168

The operation completed successfully.

Now I didn't write the script for this but as far as I'm aware it was all functioning okay.  We have had some network changes recently so it may be something to do with permissions.  This script is currently hosted on a Windows NT server but our network has been switched to Windows 2003 and Active Directory.

The code that line 168 refers to looks like:

      If Len(url) > 1 Then
            path = url
      Else
            path = Image_sourcepath
      End If
      set obj = Server.CreateObject ("Microsoft.XMLHTTP")
      obj.open "GET", path, false
    obj.Send  (<-- this is line 168)

This code is part of a function.  The variable url is being passed to the function.  I am assuming that the code is all okay as it was working before.  I am going along the lines that there is something wrong the server or it's a permissions thing.

There is also another page on this website that is supposed to parse an XML file but I don't think it's using XMLHTTP but rather an XML data island.  This page is also broken:

Error loading the file E:\--filename edited -- .xml
XML Parse Error line 0, character 0
Error Text

As far as I'm aware, nothing has been changed on the web server itself, nor have any of the scripts been changed.  I haven't had much luck searching for this error so far - I would be grateful if anyone has any solutions as this error is occurring on a client site and so is urgent.

Thanks
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 4 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 4 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros