Chat with a LIVE Microsoft Access Expert!
 
       
 

         

   

Go Back   Access World Forums > Microsoft Access Discussion > Tables

 
 
Chat with a LIVE Microsoft Access Expert!
Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 11-24-2009, 07:16 AM
andie andie is offline
Registered User
 
Join Date: Nov 2009
Posts: 4
andie is on a distinguished road
Error message when attaching images

I am getting an error message when I attach an image to a new table.
Cannot open database ". It may not be a database that your application recognizes, or the file my be corrupt.

This is a new table I just created a couple of days ago. I am using Access 2007. There are 304 records I've created and approximately 275 of these records have an attachment from the same file and I have not had any issue until now. I did have another database that was doing this same thing. I thought it had something to do with copying excel files so I decided to start completely over.

Please help anyone!!!!

I am new to access, so....

Thanks,
Andie
Reply With Quote
Sponsored Links
  #2  
Old 11-24-2009, 09:54 AM
HiTechCoach's Avatar
HiTechCoach HiTechCoach is offline
Problem Solver
 
Join Date: Mar 2006
Location: Oklahoma City, OK
Posts: 3,156
HiTechCoach is a jewel in the roughHiTechCoach is a jewel in the roughHiTechCoach is a jewel in the rough
Re: Error message when attaching images

How big is the database file? There is a 2 gig file size limit.

Have you compact the database lately?
__________________
Boyd Trimmell, aka HiTechCoach
Microsoft Access MVP 2010
Started with Access 2.0. Now developing in Access 2010.
Business Process/Accounting/CRM Software Developer/Consultant
Programming: Nine different ways to do it right, a thousand ways to do it wrong.
Reply With Quote
  #3  
Old 11-24-2009, 10:00 AM
boblarson's Avatar
boblarson boblarson is online now
Super Moderator
 
Join Date: Jan 2001
Posts: 22,070
boblarson is a name known to allboblarson is a name known to allboblarson is a name known to allboblarson is a name known to allboblarson is a name known to allboblarson is a name known to all
Re: Error message when attaching images

Quote:
Originally Posted by andie View Post
...and approximately 275 of these records have an attachment from the same file ...
What do you mean, from the same file? Are you attaching the same file over and over again? If so, I think you should probably not be attaching the file (which actually inserts this file into the table) but instead store a LINK to the file.
__________________
Thanks,

Bob Larson

Free samples, tools and tutorials (including Auto Frontend Update Enabling Tool)

"Have you tried turning it off and on again?"
Reply With Quote
  #4  
Old 11-24-2009, 10:04 AM
andie andie is offline
Registered User
 
Join Date: Nov 2009
Posts: 4
andie is on a distinguished road
Re: Error message when attaching images

Quote:
Originally Posted by boblarson View Post
What do you mean, from the same file? Are you attaching the same file over and over again? If so, I think you should probably not be attaching the file (which actually inserts this file into the table) but instead store a LINK to the file.
I shouldn't have said same file. Each attachment has a different file name.
Reply With Quote
  #5  
Old 11-24-2009, 10:12 AM
boblarson's Avatar
boblarson boblarson is online now
Super Moderator
 
Join Date: Jan 2001
Posts: 22,070
boblarson is a name known to allboblarson is a name known to allboblarson is a name known to allboblarson is a name known to allboblarson is a name known to allboblarson is a name known to all
Re: Error message when attaching images

Quote:
Originally Posted by andie View Post
I shouldn't have said same file. Each attachment has a different file name.
I still would watch out for the file size like HTC mentioned. Also, it has been my experience that storing LINKS to the files is much better for the system than trying to store a lot of attachments. Access 2007 improved on the storing of documents but I still don't trust it too much when it comes to storing those in the actual database and I find pulling the stuff OUT of the attachment fields much more a pain than just using links.
__________________
Thanks,

Bob Larson

Free samples, tools and tutorials (including Auto Frontend Update Enabling Tool)

"Have you tried turning it off and on again?"
Reply With Quote
  #6  
Old 11-24-2009, 10:31 AM
andie andie is offline
Registered User
 
Join Date: Nov 2009
Posts: 4
andie is on a distinguished road
Re: Error message when attaching images

Quote:
Originally Posted by HiTechCoach View Post
How big is the database file? There is a 2 gig file size limit.

Have you compact the database lately?
The file is 2,095,108 KB...and yes, I have compacted, repaired and backed up.

Thanks,
Andie
Reply With Quote
  #7  
Old 11-24-2009, 10:34 AM
boblarson's Avatar
boblarson boblarson is online now
Super Moderator
 
Join Date: Jan 2001
Posts: 22,070
boblarson is a name known to allboblarson is a name known to allboblarson is a name known to allboblarson is a name known to allboblarson is a name known to allboblarson is a name known to all
Re: Error message when attaching images

Quote:
Originally Posted by andie View Post
The file is 2,095,108 KB...and yes, I have compacted, repaired and backed up.

Thanks,
Andie
Well, that would be over the 2Gb file size limit.
__________________
Thanks,

Bob Larson

Free samples, tools and tutorials (including Auto Frontend Update Enabling Tool)

"Have you tried turning it off and on again?"
Reply With Quote
  #8  
Old 11-24-2009, 11:52 AM
andie andie is offline
Registered User
 
Join Date: Nov 2009
Posts: 4
andie is on a distinguished road
Re: Error message when attaching images

After looking at this, you are so right! I didn't realize the pictures were so big and making the file too large. I am compressing them down and hopefully this will work. Thank you all so much for the help!
Andie
Reply With Quote
Sponsored Links
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Minor Error with Code for Attaching Images to Forms Forsi Modules & VBA 9 08-17-2008 12:35 PM
Many images in report resulting in slowdown swift Reports 0 04-21-2007 09:58 AM
Some help with images FizzyWocky Forms 3 04-12-2004 04:11 AM
Attaching images to records, not via subform pat_nospam Forms 3 10-19-2003 07:34 AM
Attaching images to a form matt020876 Forms 3 03-05-2003 09:34 AM


All times are GMT -8. The time now is 09:06 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
(c) copyright 2009 Access World