Share via

Cannot open database “. It may not be a database that your application recognizes, or the file may be corrupt.

Anonymous
2011-02-03T14:26:35+00:00

An Access 2007 database that we recently constructed started giving the following error message when we try to enter attachments, "Cannot open database “.  It may not be a database that your application recognizes, or the file may be corrupt." 

I since became aware that there is a 2 gig limit on table attachments and that apparently is what is causing the error message to appear.  We are right at the 2 gig limit.  Our anticipation was that this database would store approximately 500 gigs of attachments.  However, I can not find anything that tells me an alternate way to  set up the database to store and retrieve document attachments.

Any suggestions would be appreciated.

Microsoft 365 and Office | Access | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

14 answers

Sort by: Most helpful
  1. Anonymous
    2013-07-01T14:48:06+00:00

    I had the same problem, i found if you run "compact and repair" which can be found in:

    Tools > Database Utilities > compact and repair database

    it reduced the size by over 100% and it worked completely fine after that!

    300+ people found this answer helpful.
    0 comments No comments
  2. Anonymous
    2015-09-12T18:26:34+00:00

    Go for click and Tools > Database Utilities > compact and repair database

    30+ people found this answer helpful.
    0 comments No comments
  3. Anonymous
    2011-02-03T14:38:28+00:00

    Sounds like corruption...  (In your case because of reaching the limit)

    http://www.granite.ab.ca/access/corruption/symptoms.htm.

    I would make a back-up, make another back-up and then first try importing all but the tables that contain attachments into a new database.  Also, read this article...

    http://www.granite.ab.ca/access/corruption/retrievedata.htm.

    And after all of that I would finish off with this article...

    http://allenbrowne.com/ser-25.html and see if any of those circumstances apply to you.

    And when all else fails…

    Data Recovery Services (I have never used them but I see them most mentioned when trying to recover data)…

    http://www.pksolutions.com/t4.htm

    There is nothing aside from upsizing that will allow Access to go beyond its limit.  Which is why most would store only a path to the picture/image and the actual picture/image in a folder in a central location.


    --

    Gina Whipp

    Microsoft MVP (Access)

    Please post all replies to the forum where everyone can benefit.

    10+ people found this answer helpful.
    0 comments No comments
  4. Anonymous
    2011-02-03T17:44:30+00:00

    If you have reached the limit, Gina is right it may not be recoverable.  But you might consider moving to SQL Server 2008 Express (10Gb limit) and perhaps using SQL Server Migration Assistant (SSMA) can move it over even at the file size you currently have.


    Bob Larson, Former Access MVP (2008-2010) http://www.btabdevelopment.com (free Access tools, tutorials, and samples)

    9 people found this answer helpful.
    0 comments No comments
  5. Anonymous
    2012-02-26T18:43:10+00:00

    An Access 2007 database that we recently constructed started giving the following error message when we try to enter attachments, "Cannot open database “.  It may not be a database that your application recognizes, or the file may be corrupt." 

    I since became aware that there is a 2 gig limit on table attachments and that apparently is what is causing the error message to appear.  We are right at the 2 gig limit.  Our anticipation was that this database would store approximately 500 gigs of attachments.  However, I can not find anything that tells me an alternate way to  set up the database to store and retrieve document attachments.

    Any suggestions would be appreciated.

    Here is a link to a sample database that stores pictures outside the database and stores the links to the pictures in the database.

    http://www.rogersaccesslibrary.com/forum/topic298.html

    7 people found this answer helpful.
    0 comments No comments