Invalid version of QBEDefinition Error

Hi,

I've been testing my application using DOA 4.0.7 with Delphi 6 Ent on a development machine removed from my production environment. I just tried to move the project to my other development machine that accesses my production server.

When I run my application, I get a fatal error with the message "Exception EReadError in module atms.exe [my app's name] at 000215F. Error reading odsPrefs.QBEDefinition.QBEFieldDefs: Invalid version of QBEDefinition". odsPrefs is a TOracleDataSet component.

I did not have the error before installing DOA 4.0.7 (was previously using DOA 3).

The only big difference between my offline development server and the online development server is that my offline server uses the Oracle 10g client and my migration test Oracle 10g database. The online development server is still the 8.1.7.4 client connected to an Oracle 8.1.7.4 server.

How can I resolve this error and fix?

AJS
 
This implies that the executable was linked with an older version of the Direct Oracle Access DCU files. As a result you have design-time properties that are unknown at run-time. You will need to ensure that the old units are removed (from the Delphi search path).
 
Version conflict appears to be the problem. Embedded in one of the legacy controls was a TOracleDataSet. I deleted all of the *.DCU files and re-compiled and re-installed all of the components I have source code for and the problem seems to have gone away.

Thank you for confirming that it is a version conflict issue. Now I have confidence that the problem is corrected.
 
Hi,

I have the same error message
"Error reading from Quer1.QBEDefinition.QBEFieldDefs: Invalid version of QBEDefinition, whereas "Query1" is a TDataset-component.

This occurs after migrating from the version 3.4.3 to 4.1.1.

I have removed the path from the Project->Options->Directories.

I use Delphi 5.

Thanks in advance,
Dimce
 
Back
Top