Page 1 of 1

Property DataTypeMap does not exist

Posted: Tue 26 Jun 2012 15:40
by romansg
Hello,

I installed MyDac 7.2 pro for Delphi 7 and I get the error message "Property DataTypeMap does not exist" whenever I tried to run a program with a TMyConnection component. This happens with either old programs as well as new ones.

Re: Property DataTypeMap does not exist

Posted: Wed 27 Jun 2012 08:48
by AlexP
hello,

It is likely that you have obsolete *.bpl, *.dcu MyDAC files in ..\Windows\System32, ..\Borland\Delphi7\Bin\, ..\Borland\Delphi7\Lib\ , ..\Devart\MyDac for Delphi 7\ directories. Please, check whether our files exist in these folders and delete them. If this does not help, try installing MyDAC with the Force option.

Code: Select all

mydac72d7pro.exe /force

Re: Property DataTypeMap does not exist

Posted: Thu 16 Aug 2012 07:27
by truncc
I have same problem on D7 after updating SDAC from 6.1.3 to 6.2.8. Deleting files make no difference. /force did not help too. Can you help with list of files I should delete before installation?

Re: Property DataTypeMap does not exist

Posted: Thu 16 Aug 2012 08:05
by truncc
I have managed to clean up all files of all sdac but now I have this problem "Unit MSAccess was compiled with a different version of CLRClasses.Marshal"

Re: Property DataTypeMap does not exist

Posted: Thu 16 Aug 2012 08:28
by truncc
Problem solved it took 40 mins to clean up all other files. Most hard sdac installation for me

Re: Property DataTypeMap does not exist

Posted: Thu 16 Aug 2012 09:38
by AndreyZ
We are working on improving of the installation and uninstallation processes. We will try to remove problems that occur during them in the nearest builds of all the DAC products.

Re: Property DataTypeMap does not exist

Posted: Sat 25 Aug 2012 17:19
by garik
What else could be done to fix this problem? I tried everything and still get the same error. Delphi 2007 works fine on the same PC.

Re: Property DataTypeMap does not exist

Posted: Mon 27 Aug 2012 08:10
by AndreyZ
This problem occurs because your project uses the old DCU files of MyDAC. To solve the problem, you should perform the following steps:
- remove MyDAC;
- remove all *dac*.bpl and *crcontrols*.bpl files from your computer;
- remove *.dcu files from your project;
- reinstall MyDAC.

Re: Property DataTypeMap does not exist

Posted: Thu 30 Aug 2012 06:41
by garik
I uninstalled all mydac products again.
I cleaned up the PC one more time from all *dac*.bpl and *crc*.bpl files.
I installed mydac for delphi 7 again using /force option.
I created brand new project and saved it into a folder with NO DCU files.
I run the project and still get this error message. Very frustrating!

Re: Property DataTypeMap does not exist

Posted: Fri 31 Aug 2012 06:02
by AndreyZ
The "Property DataTypeMap does not exist" error can occur only at run-time and only because there are DCU files from the old MyDAC version on a computer. MyDAC installation copies its DCU files only to its installation directory, and MyDAC uninstallation deletes all these DCU files. It seems that you copied MyDAC DCU files to another directory where Delphi 7 looks for DCU files (all paths from Library Path). Please try to find the CRAccess.* , DBAccess.* , and MyAccess.* files on your computer (excluding the files from the MyDAC installation directory) and delete them.

Re: Property DataTypeMap does not exist

Posted: Tue 02 Oct 2012 07:20
by kristinjenson123
truncc wrote:I have same problem on D7 after updating SDAC from 6.1.3 to 6.2.8. Deleting files make no difference. /force did not help too. Can you help with list of files I should delete before installation?
I had also the same problem........ but after to read this thread.... I solved it visit for more details here littlelioness
!

Re: Property DataTypeMap does not exist

Posted: Fri 01 Mar 2013 18:56
by romansg
AndreyZ wrote:It seems that you copied MyDAC DCU files to another directory where Delphi 7 looks for DCU files (all paths from Library Path).
Or may be he did not.

I just realized that on Windows 7, a copy of DevArt's dcu files is automatically made to

C:\Users\<username>\AppData\Local\VirtualStore\Program Files\Devart\MyDAC for Delphi 7\Lib

Uninstalling MyDac will not remove that copy and it seems that those dcus take precedence over the ones in the Devart folder.

Placing a TXPManifest on the project prevents that copy.