General information
Title:
OLE IDispatch Exception Code 0 from MSXML4
Hi All
I received the above error when running the compiled EXE but it works 100% within
the IDE.
The failure occurs when executing the "Send" of XMLHttp.
objUnform = CREATEOBJECT("MSXML2.DOMDocument.4.0")
objUnform.Async = .f.
***********************************
** strXml = path\XMl file
**********************************
objUnform.Load(strXml)
IF objunform.ParseError.ErrorCode <> 0
WAIT WINDOW "Error loading XML"
Else
objHTTP=CREATEOBJECT("MSXML2.XMLHTTP.4.0")
objHTTP.open("POST", mstrURL,.f., mstrUsername, mstrPassword)
objHTTP.setRequestHeader("Content-Type", "text/xml")
*******************************************
** Error occurs on this line
*******************************************
objHTTP.Send(ObjUnform.Xml)
*******************************************
Endif
Any advice would be appreciated.
Regards
Tom
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only