Results 1 to 3 of 3
  1. #1
    Lynn Cohen is offline Advanced Beginner
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jul 2013
    Posts
    30

    Upgrading to 2013 - Compact on Close issue

    We are in the process of upgrading from Access 2010 to 2013 for a user community of about a dozen. I’m not a programmer; just a former user who supports the users.

    Their Access dbase is split. The front end (Database 2015 app) and back end (Database 2015 data) live on a shared drive; and each user has a local copy of the front end (Database 2015 app) on her home drive. The front end and back end files are set to Compact on Close. Each local copy is also set to Compact on Close.

    Three users have been upgraded to Access 2013. When each closes her local copy, she gets this error message:

    “The compact and repair operation has been cancelled. You might not have adequate permissions to the folder that the database is located in. You need full permissions to the directory the database is located to compact and repair.”

    I first checked that the users have full permissions to the drive on which the front end and back end of the database reside – which they do.



    I then unchecked Compact on Close on a user’s local copy, closed the file, and reopened it. Compact on Close was still checked, and the error message appeared again.

    Wondering if anyone else has experienced this problem. I’m thinking I shouldn’t be very concerned, as the master files are compacting on close. Any suggestions are appreciated!

    Thanks,
    Lyn

  2. #2
    CJ_London is offline VIP
    Windows 8 Access 2010 32bit
    Join Date
    Mar 2015
    Posts
    11,932
    there should be no need for a front end to be compacted - it doesn't contain any tables which is what causes a db to increase in size and then need compacting. Just compact it once before distributing to users.

    with regards the backend, compacting can only be done when there are no users connected to it so only the last user will be successful.

    Having said that, compact on close is generally a bad idea - you are the last to leave and you have a bus to catch - and access is spending precious time compacting before you can turn off your machine - now you're jumping from foot to foot and checking your watch. Turn it off whilst compacting and you risk corrupting the db.

    Ideally you need some code and a timer to run it at 3 in the morning when everyone is off the system.

    With regards unchecking the compact on close this should work - you did click the OK button at the bottom to set the changes? you should get a message to say you must close and reopen db for changes to take effect. If not working, try changing the front end on your network - is it works there, redistribute the front end from there.

    You will need to go into the backend to unset the compact on close there anyway

  3. #3
    Lynn Cohen is offline Advanced Beginner
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jul 2013
    Posts
    30
    Thank you, Alex. I fixed the "Compact on Close" setting and the problem is resolved.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 5
    Last Post: 09-01-2014, 12:11 PM
  2. pdf issue after upgrading from 2003 to 2013
    By rtiql8n in forum Access
    Replies: 7
    Last Post: 08-07-2014, 05:42 PM
  3. Replies: 1
    Last Post: 03-20-2014, 07:51 AM
  4. Compact on Close
    By libraccess in forum Programming
    Replies: 2
    Last Post: 05-05-2013, 09:05 AM
  5. Compact and repair on close
    By colotazzman in forum Access
    Replies: 2
    Last Post: 05-20-2010, 02:04 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums