Consultor Eletrônico



Kbase P143793: Setting NoLOBs Property on BindingSource prior to binding data source causes System.AccessViolation
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   12/11/2010
Status: Unverified

SYMPTOM(s):

Setting NoLOBs Property on BindingSource prior to binding data source causes System.AccessViolation

System.AccessViolation: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.

FACT(s) (Environment):

Windows
OpenEdge 10.2A01 Service Pack

CAUSE:

Bug# OE00182590

CAUSE:

When setting NoLOBs property on the BindingSource some validation is performed and, if there is no data source bound to the BindingSource this fails with an AccessViolation.

FIX:

Upgrade to OpenEdge 10.2A02 or later
Upgrade to OpenEdge 10.2B or later

Workaround:
Set the NoLOBs property after setting the Handle property of the bindingSource object.