SDAC components error on compile application.

Discussion of open issues, suggestions and bugs regarding SDAC (SQL Server Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
willianjhonnes
Posts: 9
Joined: Mon 28 Jul 2008 14:47
Location: Curitiba / Paraná / Brazil

SDAC components error on compile application.

Post by willianjhonnes » Mon 25 Feb 2013 14:11

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

willianjhonnes
Posts: 9
Joined: Mon 28 Jul 2008 14:47
Location: Curitiba / Paraná / Brazil

Re: SDAC components error on compile application.

Post by willianjhonnes » Mon 25 Feb 2013 17:38

This error also occours on Delphi 7 with Update 7.1.

Thanks and regards.

Willian J. L. dos Santos
Delphi Analyst / Developer

AndreyZ

Re: SDAC components error on compile application.

Post by AndreyZ » Tue 26 Feb 2013 10:42

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.

willianjhonnes
Posts: 9
Joined: Mon 28 Jul 2008 14:47
Location: Curitiba / Paraná / Brazil

Re: SDAC components error on compile application.

Post by willianjhonnes » Tue 26 Feb 2013 12:32

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

AndreyZ

Re: SDAC components error on compile application.

Post by AndreyZ » Tue 26 Feb 2013 13:05

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.

willianjhonnes
Posts: 9
Joined: Mon 28 Jul 2008 14:47
Location: Curitiba / Paraná / Brazil

Re: SDAC components error on compile application.

Post by willianjhonnes » Tue 26 Feb 2013 13:12

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

willianjhonnes
Posts: 9
Joined: Mon 28 Jul 2008 14:47
Location: Curitiba / Paraná / Brazil

Re: SDAC components error on compile application.

Post by willianjhonnes » Tue 26 Feb 2013 14:18

Problem solved forcing a new installation without uninstall de previous installation first.

AndreyZ

Re: SDAC components error on compile application.

Post by AndreyZ » Wed 27 Feb 2013 07:45

It is good to see that this problem has been solved. Feel free to contact us if you have any further questions about SDAC.

Post Reply