I have a page where you can click edit on list view. Once in edit mode there are 2 fields one is a notes field where you can click, on the auto generated link by ASP runner and it asks you to open or save the notes. There is a second link that asp runner generated which is the ID number which is linked to another table on the master table where the relationship is setup by the ID. when I click on that link I get the error bellow. I have also included line 61 of the sp file it error out
onADODB.Field (0x800A0C93)
Operation is not allowed in this context.
/MPRIvr3/tblCaseNotes_getfile.asp, line 61
if rs.EOF then
rs.Close
response.Redirect "login.asp"
response.End
end if
Line 60 binTemp = rs(field).GetChunk(2000000)
Line 61
Line 62 if IsNull(binTemp) then
response.end
end if
Response.ContentType = ContentType
Response.AddHeader "Content-Disposition", "attachment;Filename=" & strFileName
Response.AddHeader "Content-Length", lenb(db_stripslashesbinary(binTemp))