Results 1 to 5 of 5
  1. #1
    CQCDave is offline Advanced Beginner
    Windows 7 64bit Access 2007
    Join Date
    Nov 2014
    Posts
    47

    Error Message

    I am receiving the following error message "Cannot open database ". It may not be a database your application recognizes, or the file may be corrupt.


    I am getting this error when i attempt to attach a pdf file to an attachment field. I am able to create a record in the database, save the record, but unable to attach the file. This error has just started. It is happening on more than 1 table. I am able to open existing records that have attachments and open the attachment already attached to the record.
    I have already ran the compact/repair database. Any suggestions on a next step?
    Thanks for any insight.
    I'm using MS Access 2010.


    Click image for larger version. 

Name:	error.jpg 
Views:	5 
Size:	25.1 KB 
ID:	19750

  2. #2
    Rawb is offline Expert
    Windows 7 64bit Access 2010 32bit
    Join Date
    Dec 2009
    Location
    Somewhere
    Posts
    875
    How big is your database? If you are trying to add data that brings the size above 2.0 GB, you can get that error.

  3. #3
    CQCDave is offline Advanced Beginner
    Windows 7 64bit Access 2007
    Join Date
    Nov 2014
    Posts
    47
    The backend database is 2,096,968KB

  4. #4
    Rawb is offline Expert
    Windows 7 64bit Access 2010 32bit
    Join Date
    Dec 2009
    Location
    Somewhere
    Posts
    875
    There's your problem. You're right at the limit (you only have about 184KB of space left!). Access databases cannot be larger than 2.0 GB.

    One way to decrease the size of your database is to store all of your attachments in the file system while just storing the path to each file in your db. Depending on how complex your database is though, it might take a lot of work.

  5. #5
    CQCDave is offline Advanced Beginner
    Windows 7 64bit Access 2007
    Join Date
    Nov 2014
    Posts
    47
    Thanks for your help!!

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

Similar Threads

  1. Replies: 3
    Last Post: 05-15-2014, 09:59 AM
  2. Replies: 15
    Last Post: 11-01-2013, 03:24 PM
  3. Replies: 7
    Last Post: 07-24-2013, 02:01 PM
  4. Error message 'Error in Loading DLL'
    By rahayes in forum Programming
    Replies: 2
    Last Post: 09-22-2012, 05:17 AM
  5. Replies: 2
    Last Post: 06-23-2012, 11:59 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
  •  
Other Forums: Microsoft Office Forums