Print Thread
Invalid version of QBEDefinition Error
#7923 11/15/05 11:30 PM
Joined: Oct 2005
Posts: 6
Severna Park, MD, USA
A
Member
OP Offline
Member
A
Joined: Oct 2005
Posts: 6
Severna Park, MD, USA
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


AJStadlin
Re: Invalid version of QBEDefinition Error
#7924 11/16/05 10:52 PM
Joined: Aug 1999
Posts: 22,219
Member
Offline
Member
Joined: Aug 1999
Posts: 22,219
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).


Marco Kalter
Allround Automations
Re: Invalid version of QBEDefinition Error
#7925 11/16/05 11:10 PM
Joined: Oct 2005
Posts: 6
Severna Park, MD, USA
A
Member
OP Offline
Member
A
Joined: Oct 2005
Posts: 6
Severna Park, MD, USA
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.


AJStadlin
Re: Invalid version of QBEDefinition Error
AJStadlin1 #51471 05/18/15 01:10 PM
Joined: Feb 2002
Posts: 13
Karlsruhe, Germany
Member
Offline
Member
Joined: Feb 2002
Posts: 13
Karlsruhe, Germany
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

Re: Invalid version of QBEDefinition Error
dtumbov #51491 05/20/15 07:00 AM
Joined: Feb 2002
Posts: 13
Karlsruhe, Germany
Member
Offline
Member
Joined: Feb 2002
Posts: 13
Karlsruhe, Germany
@AllroundAutomations: No update yet?


Moderated by  support 

Link Copied to Clipboard
Powered by UBB.threads™ PHP Forum Software 7.7.4
(Release build 20200307)
Responsive Width:

PHP: 7.1.33 Page Time: 0.036s Queries: 14 (0.008s) Memory: 2.5168 MB (Peak: 3.0421 MB) Data Comp: Off Server Time: 2024-05-16 05:36:43 UTC
Valid HTML 5 and Valid CSS