Results 1 to 6 of 6
  1. #1
    illingworth22 is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jan 2020
    Posts
    2

    Intermittent Error when I exit MS Access 10

    I keep getting an intermittent error when I exit my database. (see attached) Any suggestions? Note I posted the same question on Access world as I didn't know if I'd get an answer right away.




    Microsoft Access can't delete C:\home\database\database.mdb after compacting it. The compacted database has been named C:\home\database\database1.mdb

    If you compact a database using the same name, Microsoft Access creates a new compacted database and then deletes the original database. In this case, however, the original wasn't deleted because it's read-only.

    If you can, remove the read only status, delete the original database, and then rename the new database using the original name. If you can't remove the read-only status , inform the workgroup administrator.



  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    48,684
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  3. #3
    davegri's Avatar
    davegri is online now Excess Access
    Windows 10 Access 2016
    Join Date
    May 2012
    Location
    Denver
    Posts
    2,160
    Compact/Repair on close is an option that you can turn off. I never use it because of problems like yours.

  4. #4
    illingworth22 is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jan 2020
    Posts
    2
    Quote Originally Posted by June7 View Post
    Yes, it says so at the top of my post here!

  5. #5
    isladogs's Avatar
    isladogs is offline Very idle programmer
    Windows 10 Access 2010 32bit
    Join Date
    Jan 2014
    Location
    Somerset, UK
    Posts
    3,993
    Which of course proves the point about why crossposting is unhelpful at best
    Colin (Mendip Data Systems) : Website, email
    If this has helped, please click the star button and leave a comment

  6. #6
    Micron is online now Virtually Inert Person
    Windows 10 Access 2016
    Join Date
    Jun 2014
    Location
    Ontario, Canada
    Posts
    6,754
    PMFJI but I think the reason June7 posted that is because you didn't provide a link, which is customary. Anyone who intends to post there can then use the link to see what's going elsewhere. What they shouldn't have to do is go look for your post. Cross posting in quick succession might actually be counter productive sometimes. I for one usually would not answer in one forum if there's significant activity elsewhere as I'd risk the answer being posted there while I work on a problem in the other. The decision is yours of course, maybe just follow protocol to avoid flak.
    - "doesn't work" doesn't help. Implement changes in copies of your database.
    "Everyone has a photographic memory; some just don't have film." Steven Wright

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

Similar Threads

  1. Intermittent Run time error 91
    By alxndrxvier in forum Modules
    Replies: 9
    Last Post: 09-01-2017, 02:39 PM
  2. Replies: 1
    Last Post: 02-07-2017, 12:41 PM
  3. Replies: 18
    Last Post: 08-15-2016, 10:52 AM
  4. intermittent #ERROR in subform detail
    By jr2014 in forum Forms
    Replies: 7
    Last Post: 09-03-2014, 07:30 PM
  5. Replies: 2
    Last Post: 12-20-2012, 03:06 PM

Posting Permissions

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