I have a error SDAC 6.9 when compile

Discussion of open issues, suggestions and bugs regarding SDAC (SQL Server Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
raumuong
Posts: 2
Joined: Thu 16 Jan 2014 10:15

I have a error SDAC 6.9 when compile

Post by raumuong » Thu 16 Jan 2014 10:21

Hi
- Delphi XE4
- SDAC for XE4 trial 60days: 6.9.17
- When design, i can connect and display data easy
but when i compile , there is a error ocur below
[dcc32 Fatal Error] main.pas(10): F2051 Unit MSDataTypeMap was compiled with a different version of CRDataTypeMap.TCRMapRules


Please help me fix this error

Thank you

AlexP
Devart Team
Posts: 5530
Joined: Tue 10 Aug 2010 11:35

Re: I have a error SDAC 6.9 when compile

Post by AlexP » Thu 16 Jan 2014 13:58

Hello,

Most probably, you have old SDAC *.bpl, *.dcu, *.pas, etc., files remained. Please delete all the old SDAC files and try reinstalling SDAC once more.

raumuong
Posts: 2
Joined: Thu 16 Jan 2014 10:15

Re: I have a error SDAC 6.9 when compile

Post by raumuong » Thu 16 Jan 2014 22:38

1. I remove all previous version carefully and re-install newest verion 6.9.17
2. Open the Demo: SdacDemo.dproj
When compile i have error again:
Compiling SdacDemo.dproj (Debug, Win32)
dcc command line for "SDACDemo.dpr"
[dcc32 Fatal Error] CachedUpdates.pas(13): F2051 Unit MSDataTypeMap was compiled with a different version of CRDataTypeMap.TCRMapRules


On IDE editor the mouse is on this row:
DBAccess, MSAccess, SdacVcl, DemoFrame, SdacDemoForm;

AlexP
Devart Team
Posts: 5530
Joined: Tue 10 Aug 2010 11:35

Re: I have a error SDAC 6.9 when compile

Post by AlexP » Fri 17 Jan 2014 11:59

Hello,

This problem may be due to old files only. Please make sure that your paths in the LibraryPath point to the current location of SDAC files. Try to create a new project, place MSConnection onto the form, compile the project - and let us know the result.

Post Reply