Hi,<BR>Am using Script to upload and download files from a database.<BR>The upload works fine. The download is giving me grief for Oracle 8 but works fine for MSSQL 6.5 and MSSQL 7.<BR><BR>This is the code <BR>----------------<BR>Set RS = Server.CreateObject("ADODB.Recordset")<BR>Set objStream = Server.CreateObject("ADODB.Stream")<BR>objStream.T ype = adTypeBinary<BR><BR>sql="Select contents from attachment Where cnumber=&#039;" & cn & "&#039; and filename = &#039;" & fn & "&#039;"<BR>RS.Open sql, ConnectionString, 2, 2<BR><BR><BR>The error happens at the RS.Open statement and the error is<BR>ADODB.Recordset error &#039;800a0bb9&#039; <BR><BR>Arguments are of the wrong type, are out of acceptable range, or are in conflict with one another. <BR><BR>---------------------------<BR>I treed with adOpenForwardOnly, asLockOptimistic, adCmdTable etc but to no avail.<BR>Thanks for any help.<BR>Ram