Access is denied

Discussion of open issues, suggestions and bugs regarding LiteDAC (SQLite Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
Posts: 1
Joined: Mon 14 May 2018 13:48
Location: Auckland

Access is denied

Post by JaV643 » Mon 14 May 2018 13:57

Hello experts.
There's a .mdf extension file that I could open on my Lenovo laptop on Windows 8. However, after the Windows 10 update, I suddenly can't open it anymore. It gives the following message, Access is denied.
I googled for this, i get many solutions for all other databases except .mdf file issue. Can someone help me?
TY for you time and attention

Devart Team
Posts: 932
Joined: Mon 06 Jul 2015 11:34

Re: Access is denied

Post by MaximG » Tue 15 May 2018 14:53

Usually files with the .mdf extension are Microsoft Access files. Accordingly, you can ask the technical support of this product any questions related to their use. If you are interested in the work of our product LiteDAC, we will always be glad to help you

Posts: 1
Joined: Sun 20 May 2018 20:53

Re: Access is denied

Post by KIM002 » Sun 20 May 2018 20:58

You’d need to install some version of SQL Server, then re-attach the MDF file. However, if you don’t have the matching LDF file (the log file), you don’t have the whole database. Because of this, an MDF file is not the correct way to transfer databases between servers. Instead, you need to make a backup using SQL Server Manager, then restore the backup on the other server. If you need more information take a look here: how to open mdf file?

Post Reply