Altova Mailing List Archives>Archive Index >microsoft.public.xml Archive Home >Recent entries [Thread Prev] >Thread Next - Re: MSXML2.XMLHTTP error:The download of the specified resource has fa MSXML2.XMLHTTP error:The download of the specified resource has faTo: NULL Date: 8/2/2005 5:37:00 AM I'm getting this error ( The download of the specified resource has failed.)
when the code tries to send an XML ( which is fully loaded and valid ) to the
server ASP page. Even though i got this error and it seems like the call was
not made, the call to ASP has completed sucessfully ( the ASP calls a COM
object built using Visual FoxPro 9 ) and no errors had occured.
Error I got was :
Line: 306
Error: The download of the specified resource has failed.
After debugging the code I was taken to the line(306) where the error
occured :
FUNCTION qaSendHTTP(tcXML,tcURL)
DIM loXmlHTTP,lcResponse
lcResponse="FALSE"
SET loXmlHTTP=CreateObject("MSXML2.XMLHTTP")
WITH loXmlHTTP
.Open "POST",tcURL,False
.Send tcXML <= Line 306
...
...
The following were the object propeties of loXmlHTTP at this time, taken
from Watch window :
loXmlHTTP
status 12152 Long
statusText "Unknown" String
+ responseXML {...} Object
responseText "" String
responseBody Empty Variant
responseStream {...} Variant
readyState 4 Long
I also noted the loXmlHTTP.responseXML.xml was blank
Please help me to find out what has caused this problem and what can be done
to prevent this.
Thanks
Janaka Peris
| ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
