Page 1 of 1

SDAC components error on compile application.

Posted: Mon 25 Feb 2013 14:11
by willianjhonnes
Hi,

I'm using SDAC 6.6.12 Trial license to test SDAC performance on Delphi XE2 applications. After installation, I placed one connection and one query components on a VCL form. In design time it's working fine. I can connect database server and execute SQL statements, but when I try to compile application, compiler returns me the error message shown bellow:

[DCC Fatal Error] Unit5.pas(9): F2051 Unit MemData was compiled with a different version of MemUtils.TDAList

What can I do to solve this?

This performance tests are crucial for SDAC components aquisition.

Thanks and regards.

Willian J. L. dos Santos
Delphi Analyst / Developer

Re: SDAC components error on compile application.

Posted: Mon 25 Feb 2013 17:38
by willianjhonnes
This error also occours on Delphi 7 with Update 7.1.

Thanks and regards.

Willian J. L. dos Santos
Delphi Analyst / Developer

Re: SDAC components error on compile application.

Posted: Tue 26 Feb 2013 10:42
by AndreyZ
Such problem shows that there are still files from the old SDAC version on your computer. Please try the following:
- remove SDAC;
- remove all *dac*.bpl and *crcontrols*.bpl files from your computer;
- remove *.dcu files from your project;
- reinstall SDAC.

Re: SDAC components error on compile application.

Posted: Tue 26 Feb 2013 12:32
by willianjhonnes
AndreyZ wrote:Such problem shows that there are still files from the old SDAC version on your computer. Please try the following:
- remove SDAC;
- remove all *dac*.bpl and *crcontrols*.bpl files from your computer;
- remove *.dcu files from your project;
- reinstall SDAC.
Hi, AndreyZ.

No, we never used SDAC before. We are using DBExpress on XE2 and BDE (!) on Delphi 7.

All steps were followed before the post. No results. My last move is the complete Delphi removal and reinstallation, so as the SDAC installation after that.

Whatever, thank you for your answer.

Thanks and regards

Willian J. L. dos Santos
Delphi Analyst/Developer

Re: SDAC components error on compile application.

Posted: Tue 26 Feb 2013 13:05
by AndreyZ
Old common files could be left from any DAC product you used in the past.
Please try the following:
- remove SDAC;
- reinstall SDAC with the /force parameter like this: sdac16.exe /force
The /force parameter forces our installation to overwrite all files from the old installation (if any files were accidentally left on your computer) with files from the new installation.

Re: SDAC components error on compile application.

Posted: Tue 26 Feb 2013 13:12
by willianjhonnes
AndreyZ,

Just like before, the problem remains the same. I have a new fresh Delphi XE2 Update 4 Hotfix 1 (buld 4504) installation. I removed all SDAC files from my computer, all registry keys, installed it again and created a new project, only with a form and a SDAC connection. It still not working, as can be seen on the link bellow.

https://docs.google.com/file/d/0ByKcRs- ... ring&pli=1

Thanks and regards

Willian J. L. dos Santos
Delphi Analyst/Developer

Re: SDAC components error on compile application.

Posted: Tue 26 Feb 2013 14:18
by willianjhonnes
Problem solved forcing a new installation without uninstall de previous installation first.

Re: SDAC components error on compile application.

Posted: Wed 27 Feb 2013 07:45
by AndreyZ
It is good to see that this problem has been solved. Feel free to contact us if you have any further questions about SDAC.