IIS MSXML3.dll being called instead of MSXML2.dll

alkemyst

No Lifer
Feb 13, 2001
83,769
19
81
Two issues at first:
1) was no mail got sent last night (rebooting solved this and mail left the queue directory).
2) all websites are not loading....

I get the following:
msxml3.dll error '80072efd'

A connection with the server could not be established

/LM/W3SVC/868139422/Root/global.asa, line 16

The global.asa snippet (line 16 is in bold)
<SCRIPT LANGUAGE=VBScript RUNAT=Server>
Function getHTMLCOntent(sURL)
dim objHTTP

Set objHTTP = Server.CreateObject("Msxml2.ServerXMLHTTP")

objHTTP.open "GET", sURL, false

objHTTP.send()

Do While (objHTTP.readyState <> 4)
objHTTP.waitForResponse(1500)
Loop

If objHTTP.Status <> "200" Then
getHTMLContent=""
Else
getHTMLContent= objHTTP.ResponseText
End If

set objHTTP = Nothing

End Function

No one is taking responsibility...I don't see any updates occured.

Anyone experience this before?
 

bsobel

Moderator Emeritus<br>Elite Member
Dec 9, 2001
13,346
0
0
a) The fact that msxml3.dll is being called isn't weird. The dll can register as many guids/common names as it wants so it is probably registered to handle the msxml2.serverxmlthhp object.

b) A quick google shows this issue is common when the msxml object can not resolve DNS for some reason (when using for sending mail, if the server name doesnt resolve, using for web scraping if the url doesnt resolve).

I'd suggest catching and exceptions thrown by the code and handling the case that the send fails (as as written your likely to blow if you have any connectivity issues). Second I'd verify that dns is working properly. A change there would explain why you are seeing problems with no config change.

 

alkemyst

No Lifer
Feb 13, 2001
83,769
19
81
Originally posted by: bsobel
a) The fact that msxml3.dll is being called isn't weird. The dll can register as many guids/common names as it wants so it is probably registered to handle the msxml2.serverxmlthhp object.

b) A quick google shows this issue is common when the msxml object can not resolve DNS for some reason (when using for sending mail, if the server name doesnt resolve, using for web scraping if the url doesnt resolve).

I'd suggest catching and exceptions thrown by the code and handling the case that the send fails (as as written your likely to blow if you have any connectivity issues). Second I'd verify that dns is working properly. A change there would explain why you are seeing problems with no config change.

The code runs locally to the server...it shouldn't be a connectivity issue. The DNS seems to be working fine from the commandline and I flushed it just in case.

Others' seem to have this issue but I haven't found what they did to repair.
 

alkemyst

No Lifer
Feb 13, 2001
83,769
19
81
Found the solution...in my global.asa were three URL's our corporate office coded....they took down that server without letting me know.

Removing those restored functionality.