Consultor Eletrônico



Kbase P133692: Passing a dataset to an Appserver procedure fails with error "csoBlob failed ret = -2"
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   06/08/2008
Status: Unverified

SYMPTOM(s):

Passing a dataset to an AppServer procedure fails with error.

Assigning a temp table BLOB/CLOB field with data gives errors.

On the client side there is an error:

csoBlob failed ret = -2

On the AppServer there is the error:

An incomplete client request. (8020)

FACT(s) (Environment):

The code worked correctly before the upgrade.
The dataset being passed contains a temp table that includes a BLOB field.
The problem only occurs when the BLOB field contains data.
All Supported Operating Systems
OpenEdge 10.1C01 Service Pack

CHANGE:

Applied service pack OpenEdge 10.1C01 to OpenEdge 10.1C installation.

CAUSE:

Bug# OE00172366

CAUSE:

The problem is related to the ASSIGN statement when assigning values to a temp table BLOB/CLOB field. This does not happen with database BLOB/CLOB fields.

FIX:

Replace the assignment of the temp table BLOB/CLOB field with a COPY-LOB statement. For example, replace:

ttMessage.msgContent = vmContent.

with:

COPY-LOB vmContent TO ttMessage.msgContent.

Where ttMessage.msgContent is a temp table BLOB field and vmContent is a MEMPTR variable.