msxml6.dll error '80072ee7' The server name or address could not be resolved

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • rajkumarsalla1
    New Member
    • Oct 2015
    • 1

    msxml6.dll error '80072ee7' The server name or address could not be resolved

    Hi There,


    We are migrating our ASP application from Windows 2000 to 2008 R2. Currently,I am getting below error in win 2008 R2 while accessing one of our webservice.


    msxml6.dll error '80072ee7'

    The server name or address could not be resolved


    Error is occuring at:
    oXMlHTTP.Send

    The Code used is as follows.

    *************** *************** *************** *************** *
    Code:
    <%
    
    Dim oXMLHTTP
    Dim strStatusTest
    Dim sxml
    Dim strErrorCode
    Dim strErrorCode1 
    Dim objDispatch
    Set oXMLHTTP = CreateObject("MSXML2.ServerXMLHTTP.6.0")
    
    oXMLHTTP.setTimeouts 5000, 60000, 10000, 100000
    oXMLHTTP.setProxy 2, "proxydetails",""
    oXMLHTTP.setOption 2, 13056
    oXMlHTTP.Open "GET","https://www.webservice.com/Download/xmldownload.jsp?reportId=XMLDownload.XML&ServiceID=ABCD12345&userID=Userid&password=password",False
    oXMlHTTP.Send
    If oXMLHTTP.Status = 200 Then
    
        sxml = oXMLHTTP.responseXML.xml
    response.ContentType = "text/xml"
    Response.Write(oXMLHTTP.responseXML.xml)
    
      End If
    Set oXml = Server.CreateObject("Microsoft.XMLDOM")
    	oXml.async = false
    	oXml.loadXML sxml
    	strErrorCode =  oXml.documentElement.childNodes(0).childNodes(0).text
    	myLog.WriteLine strErrorCode
    	Response.Write(strErrorCode)
    	myLog.WriteLine strErrorCode1
    	Response.Write(strErrorCode1)
    	
    	%>
    	
    <HTML>
    <HEAD>
    </HEAD>
    <BODY>
    <%
    
    %>
    </BODY>
    </HTML>
    *************** *************** *************** *************

    The same URL i am to browse in IE, I have also installed the certificate issued for that webservice,

    Any help in much appreciated,


    Thanks,
    Rajkumar
    Last edited by Rabbit; Oct 26 '15, 05:22 PM. Reason: Please use [code] and [/code] tags when posting code or formatted data.
Working...