Click here to Skip to main content
15,885,309 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
XML
Hi There,


We are migrating our ASP application from Windows 2000 server 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.

************************************************** ***********

<%

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>

SQL
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
Posted
Updated 26-Oct-15 3:49am
v2
Comments
Richard Deeming 26-Oct-15 12:33pm    
Are you sure that URL is correct? Neither Google nor OpenDNS can find any records for the domain webservice.com, and none of the results from a Google search for that domain seem to be related.
Rajkumar Salla 27-Oct-15 5:27am    
I have put dummy URLs and proxy details. We have some URLs and proxy details that are internal to our client.

One more update on this.
When I did nslookup to that webservice URL, i am getting the DNS Server name as "Unknown"

Please find below:
C:\Users\raj>nslookup www.webservice.com
Server: UnKnown
Address: 140.140.140.140

Name: www.webservice.com
Address: 50.50.50.50

I tried tracert as well, it is saying request timeout and logs are as below.
C:\Users\raj>tracert www.webservice.com

Tracing route to www.webservice.com [50.50.50.50]
over a maximum of 30 hops:

1 * * * Request timed out.
2 * * * Request timed out.
3


When I tried above two in my legacy/test/and my local machines. I am getting successful responses.


C:\Users\raj>nslookup www.webservice.com
Server: dns.intra.com
Address: 140.140.140.140

Name: www.webservice.com
Address: 50.50.50.50



C:\Users\raj>tracert www.webservice.com

Tracing route to www.webservice.com [50.50.50.50]
over a maximum of 30 hops:

1 1 ms 1 ms 3 ms 172.172.172.1
2 <1 ms <1 ms <1 ms 172.172.172.2
<!--1--> 3 4 ms 3 ms 4 ms 172.172.172.3


In my legacy/test and local machines, I could see a proper DNS server name. But in the New MI machines I could see the DNS server name as "Unknown".

Is that has to do something here???I have limited knowledge on DNS stuff :(
Richard Deeming 27-Oct-15 8:30am    
It looks like a firewall or network configuration problem. You'll need to talk to your network administrators to find out why the computers are configured differently.
Rajkumar Salla 27-Oct-15 8:58am    
Thanks Richard, any idea on what exactly should be the DNS configurations to be setup/configure?
Richard Deeming 27-Oct-15 8:59am    
I have no idea what the configuration for your internal network should be. That's why I suggested talking to your network administrators.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900