Property DataTypeMap does not exist
Property DataTypeMap does not exist
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.
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
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.
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 /forceRe: Property DataTypeMap does not exist
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
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
Problem solved it took 40 mins to clean up all other files. Most hard sdac installation for me
-
AndreyZ
Re: Property DataTypeMap does not exist
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
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.
-
AndreyZ
Re: Property DataTypeMap does not exist
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.
- 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
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!
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!
-
AndreyZ
Re: Property DataTypeMap does not exist
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.
-
kristinjenson123
- Posts: 2
- Joined: Tue 02 Oct 2012 07:02
Re: Property DataTypeMap does not exist
I had also the same problem........ but after to read this thread.... I solved it visit for more details here littlelionesstruncc 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?
!
Last edited by kristinjenson123 on Mon 28 Dec 2020 17:01, edited 1 time in total.
Re: Property DataTypeMap does not exist
Or may be he did not.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).
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.