Those three lines are looking up the record that was just created to get the ID and store it in a session variable.
so it sounds like the data being truncated is the binary field in the lookup recordset.
it may work to edit these three line:
WA_AppBuilderRecordset.Open()
if (NOT WA_AppBuilderRecordset.EOF) then Session(WA_sessionName)
=WA_AppBuilderRecordset.Fields.Item(WA_indexField) .Value
WA_AppBuilderRecordset.Close()
to:
On Error resume Next
WA_AppBuilderRecordset.Open()
if (NOT WA_AppBuilderRecordset.EOF) then Session(WA_sessionName)
=WA_AppBuilderRecordset.Fields.Item(WA_indexField) .Value
WA_AppBuilderRecordset.Close()
but i dont think the session variable would be created doing this.