The download of the specified resource has failed.

H

Haffe

Hi!

I'm trying to send a xml to a webside og this should response with a
xml. But at my 'send-line' it gives me an exception:

The download of the specified resource has failed.
Description: An unhandled exception occurred during the execution of the
current web request. Please review the stack trace for more information
about the error and where it originated in the code.

Exception Details: System.Runtime.InteropServices.COMException: The
download of the specified resource has failed.

Source Error:

Line 55: xmlServerHttp.open("POST",
"https://secure1.revilution.dk/api/index.php", False)
Line 56: xmlServerHttp.send(requestText)
Line 57: MsgBox(xmlServerHttp.responseXML.xml)

[COMException (0x800c0008): The download of the specified resource has
failed.]

MSXML2.XMLHTTPClass.send(Object varBody) +0

My code:

Dim requestText, serverResponseText As String

Dim xmlServerHttp As New MSXML2.XMLHTTPClass
requestText = functionToXML(methodName, paramList)
xmlServerHttp.open("POST",
"https://secure1.revilution.dk/api/index.php", False)
xmlServerHttp.send(requestText)
MsgBox(xmlServerHttp.responseXML.xml)
serverResponseText = xmlServerHttp.responseText

What do I do?

Haffe :)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,754
Messages
2,569,527
Members
44,998
Latest member
MarissaEub

Latest Threads

Top