You should wrap it in TRAY/CATCH
>I have an application which posts an XML file to a web site:
>
>objHTTP=CREATEOBJECT("MSXML2.XMLHTTP.6.0")
>WITH objHTTP
> .open("POST", mstrURL,.f., mstrUsername, mstrPassword)
> .setRequestHeader("Content-Type", "text/xml")
> .Send(ObjUnform.xml)
>ENDWITH
>
>
>I am getting an intermittent failure with :-
> Error No 1429
> Message : OLE IDispatch exception code 0 from msxml6.dll
> OLE error : The system cannot locate the resource specified.
> OLE Exception No : 5
>
>Closing the application and restarting invariably clears the error and the send executes
>
>Any advice would be greatly appreciated.
--sb--