lnRetval = HttpSendRequest(hHTTPResult,; tcHeaders, len(tcheaders),; lcPostBuffer, TnPostSize) If lnRetval = 0 &&which it is This.nerror= GetLastError() && Error num 12029 This.cerrormsg=This.getsystemerrormsg() =InternetCloseHandle(hHTTPResult) Return This.nerror endifMy Google-fu points to an IIS issue - but this works fine from my local HD. Not so much from the server.