You Do Not Have The Necessary Permissions To Use The ‘C:\QMap\Data\Custom.MDB’ Object

When starting Quickmap (particularly after upgrading from version 7), you may get this error:

Could not open database Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\QMap\Data\Custom.MDB;Persist Security Info=False: You do not have the necessary permissions to use the ‘C:\QMap\Data\Custom.MDB’ object.  Have your system administrator or the person who created this object establish the appropriate permissions for you.

This is because, in the QDataSource table of Quickmap.mdb (found in My Documents\Data\), the record who’s QLabel is “Custom” is set to reference the [DATADIR] instead of the [APPDIR]. This can be set to enable users to share their custom layers across multiple user accounts.

To fix this, edit the record to reference [APPDIR] instead, or set the NTFS permissions on the directory containing the Custom.MDB file so you can write to the folder and files within the folder (you can’t just set permissions on the MDB file because Access creates an LDB file in the directory when it’s accessed).

Please like this page:

Comments are closed.