Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

XML post does not work on one PC

Status
Not open for further replies.

EricdlH

Programmer
Nov 21, 2001
8
GB
I am using MSXML 4 in VB6 to post a message to a web server and recieve the response. This has worked on many PC's at many different locations until now. For one customer it does not work. I get "Download of the specified resource has failed". I know more about VB than XML so I am lost, ay ideas?

Here is the VB code:

Set objXMLHTTP = New MSXML2.XMLHTTP40
Set m_objCommandFileDOM = New MSXML2.DOMDocument40
m_objCommandFileDOM.setProperty "ServerHTTPRequest", True

URL = &quot;XML = &quot;<?xml version=&quot;&quot;1.0&quot;&quot; encoding=&quot;&quot;US-ASCII&quot;&quot; standalone=&quot;&quot;yes&quot;&quot;?> <get_status detail=&quot;&quot;resource&quot;&quot;/>&quot;

m_objCommandFileDOM.loadXML XML
objXMLHTTP.Open &quot;POST&quot;, URL, False
objXMLHTTP.send m_objCommandFileDOM
DoEvents
'Error at this point - &quot;Download of the specified resource failed&quot;

The message that normally comes back looks like this:

<status details=&quot;resource&quot;>
<cpu_temperature>61</cpu_temperature>
<real_ip_address>192.168.1.98</real_ip_address>
</status>
 
I'm have the exact same problem. Have you figured out what the problem was? Thank you
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top