By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,660 Members | 1,593 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,660 IT Pros & Developers. It's quick & easy.

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

P: 1
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.

************************************************** ***********
Expand|Select|Wrap|Line Numbers
  1. <%
  2.  
  3. Dim oXMLHTTP
  4. Dim strStatusTest
  5. Dim sxml
  6. Dim strErrorCode
  7. Dim strErrorCode1 
  8. Dim objDispatch
  9. Set oXMLHTTP = CreateObject("MSXML2.ServerXMLHTTP.6.0")
  10.  
  11. oXMLHTTP.setTimeouts 5000, 60000, 10000, 100000
  12. oXMLHTTP.setProxy 2, "proxydetails",""
  13. oXMLHTTP.setOption 2, 13056
  14. oXMlHTTP.Open "GET","https://www.webservice.com/Download/xmldownload.jsp?reportId=XMLDownload.XML&ServiceID=ABCD12345&userID=Userid&password=password",False
  15. oXMlHTTP.Send
  16. If oXMLHTTP.Status = 200 Then
  17.  
  18.     sxml = oXMLHTTP.responseXML.xml
  19. response.ContentType = "text/xml"
  20. Response.Write(oXMLHTTP.responseXML.xml)
  21.  
  22.   End If
  23. Set oXml = Server.CreateObject("Microsoft.XMLDOM")
  24.     oXml.async = false
  25.     oXml.loadXML sxml
  26.     strErrorCode =  oXml.documentElement.childNodes(0).childNodes(0).text
  27.     myLog.WriteLine strErrorCode
  28.     Response.Write(strErrorCode)
  29.     myLog.WriteLine strErrorCode1
  30.     Response.Write(strErrorCode1)
  31.  
  32.     %>
  33.  
  34. <HTML>
  35. <HEAD>
  36. </HEAD>
  37. <BODY>
  38. <%
  39.  
  40. %>
  41. </BODY>
  42. </HTML>
  43.  
************************************************** ********

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
Oct 26 '15 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.