failed to access critical program

Discussion of open issues, suggestions and bugs regarding MyDAC (Data Access Components for MySQL) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
Gregory
Posts: 1
Joined: Fri 05 Oct 2007 14:30

failed to access critical program

Post by Gregory » Fri 05 Oct 2007 14:41

Hi,

While starting Delphi 2007 I'll get the Fatal error: failed to access critial program data. When I try in Delphi 2007 to add a TMyConnection I'll get the error Failed to load database provider for MySQL.

I allready tried to reinstall the Core Lab products but it didn't help.

I installed the latest version 5.20.0.11 for Delphi 2007.

aruest
Posts: 5
Joined: Mon 15 Oct 2007 19:15

Error message

Post by aruest » Mon 15 Oct 2007 19:17

I get the exact same messages. I also need help!

Antaeus
Posts: 2098
Joined: Tue 14 Feb 2006 10:14

Post by Antaeus » Tue 16 Oct 2007 07:01

Try to download and install the last MyDAC version (5.20.0.11).
Do you have MyDeveloper Tools installed? If you do, please download the last MyDeveloper Tools (2.10.71) and reinstall it. If this problem still persists, uninstall MyDeveloper Tools and check wether the problem disappeared.

aruest
Posts: 5
Joined: Mon 15 Oct 2007 19:15

Post by aruest » Tue 16 Oct 2007 14:03

I followed your advice.
I Uninstalled MyDevelopper tools.
When I restarted Delphi 2007, there was no error message.
I downloaded Mydevlopper tools from your site, installed it again.
When I restarted Delphi 2007, I got the error message again.
So I have uninstalled it again and am waiting for a fix on this ASAP

Duke
Devart Team
Posts: 476
Joined: Fri 29 Oct 2004 09:25

Post by Duke » Wed 17 Oct 2007 08:46

This error may appear when you have permission problems. These problems are specific to Windows Vista. Check if you have read-write access to \Users\Public\CoreLab folder

aruest
Posts: 5
Joined: Mon 15 Oct 2007 19:15

Post by aruest » Sat 20 Oct 2007 15:33

Duke wrote:This error may appear when you have permission problems. These problems are specific to Windows Vista. Check if you have read-write access to \Users\Public\CoreLab folder
You are partly (well, almost totally!) right. The problem is indeed with Vista (aaarrghh!!!!). I tried changing read-write permissions to the folder and that did not change anything.
However, I had an AutoIt script which kept refusing to work under Vista, but worked just fine under XP. I posted to their forum and someone suggested turning off Vista UAC (User Account Control). As soon as I did that the script worked like a charm. So, I figured maybe MyDev tools will now work. Sure enough, I reinstalled the tools and now it works perfectly as long as as I keep UAC off.

So, I suspect a lot of what prevents people from switching to the new Vista may be related to this UAC being so restrictive. How long will it take for Microsoft to wake up? Comments?

Post Reply