This Object was saved in an invalid format and cannot be read

%3CLINGO-SUB%20id%3D%22lingo-sub-1924018%22%20slang%3D%22en-US%22%3EThis%20Object%20was%20saved%20in%20an%20invalid%20format%20and%20cannot%20be%20read%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1924018%22%20slang%3D%22en-US%22%3E%3CP%3EHello%20Everyone%2C%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EContext%3A%3C%2FP%3E%3CP%3EI'm%20having%20a%20pretty%20concerning%20issue%20with%20my%20access%20database%2C%20was%20hoping%20to%20get%20some%20help%20(not%20sure%20if%20this%20is%20the%20right%20forum%20for%20this).%20I'm%20new%20to%20access%2C%20and%20in%20the%20last%20month%20I've%20spent%20quite%20a%20bit%20of%20time%20making%20a%20company%20access%20database%20for%20registering%20time%20sheets.%20I%20haven't%20split%20the%20database%20yet%20(I%20figured%20I'd%20wait%20until%20the%20database%20was%20more%20developed)%2C%20The%20database%20is%20currently%20being%20opened%20by%20multiple%20computers%20over%20a%20shared%20network%2C%20one%20a%20time.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EProblem%3A%3C%2FP%3E%3CP%3EAfter%20making%20some%20formatting%20changes%20to%20one%20of%20the%20forms%20(a%20process%20I've%20done%20many%20times)%2C%20the%20access%20forms%20(this%20issue%20is%20only%20present%20on%26nbsp%3B%202%20out%20of%20the%204%20reports%20on%20the%20database)%20throw%20an%20error%20that%20says%20%22This%20Object%20was%20saved%20in%20an%20invalid%20format%20and%20cannot%20be%20read%22.%20It%20doesnt%20matter%20if%20I%20chose%20design%20mode%2C%20report%20mode%2C%20or%20just%20try%20and%20generate%20the%20report%20I%20get%20the%20same%20error%2C%20and%20cant%20edit%2C%20or%20access%20the%20form.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWhat's%20especially%20weird%20is%20that%20when%20I%20check%20the%20database%20on%20other%20computers%20it%20opens%20just%20fine%2C%20the%20reports%20print%20out.%20but%20when%20I%20tried%20editing%20the%20form%20on%20another%20computer%20and%20saving%2C%20I%20get%20the%20same%20error%20and%20the%20computer%20I%20edit%20on%20is%20then%20incapable%20of%20opening%20or%20printing%20the%20report.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Eadditionally%2C%20If%20I%20try%20and%20open%20an%20archived%2Folder%20version%20of%20the%20database%20(i've%20been%20saving%20versions%20of%20the%20database)%20I%20get%20the%20same%20error.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIm%20stumped%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%20so%20much%20for%20your%20time%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EChris%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1924018%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAccess%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1924644%22%20slang%3D%22en-US%22%3ERe%3A%20This%20Object%20was%20saved%20in%20an%20invalid%20format%20and%20cannot%20be%20read%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1924644%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F878892%22%20target%3D%22_blank%22%3E%40Chris_Amstutz%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThis%20is%2C%20unfortunately%2C%20not%20uncommon.%20Not%20frequent%20but%20certainly%20it%20does%20happen.%3C%2FP%3E%3CP%3EThat%20form%20is%20corrupted.%20Fortunately%2C%20it%20sounds%20like%20only%20that%20one%20form%20is%20bad.%20And%20two%20reports%20I%20guess%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIt%20could%20be%20the%20entire%20accdb!%20That%20happens%20also.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ESo%2C%20recovery.%20Your%20backups%20appear%20to%20have%20been%20saved%20with%20the%20corruption%20already%20present%20in%20the%20form(s)%20and%20report(s).%20Bad%2C%20but%20not%20the%20end%20of%20the%20world.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EOne%20approach%20is%20to%20start%20over%20with%20a%20clean%2C%20new%20accdb%20and%20import%20everything%20into%20it%20EXCEPT%20those%20objects%20that%20are%20corrupted.%20Then%20recreate%20them%20from%20scratch.%20A%20lot%20of%20frustrating%20work%20if%20you%20can't%20get%20the%20good%20versions%20from%20backups.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EYou%20can%20also%20try%20a%20couple%20of%20other%20trouble-shooting%20steps%20on%20a%20COPY%20of%20the%20accdb.%20%3CSTRONG%3E%3CEM%3EUse%20a%20copy%20in%20case%20your%20trouble-shooting%20goes%20wrong.%26nbsp%3B%3C%2FEM%3E%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3EOne%20common%20approach%20is%20%3CA%20href%3D%22https%3A%2F%2Fwww.fmsinc.com%2FMicrosoftAccess%2FPerformance%2FDecompile.asp%22%20target%3D%22_self%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Eoutlined%20in%20this%20article%26nbsp%3B%26nbsp%3B%3C%2FA%3EThis%20is%20known%20as%20decompile%2Fcompile%20and%20many%20developers%20have%20rescued%20their%20applications%20that%20way.%20Not%20all%2C%20unfortunately%2C%20but%20some.%3C%2FP%3E%3CP%3E%3CEM%3ENote%20that%20FMS%20is%20a%20third-party%20vendor%20or%20Access%20tools%2C%20but%20I%20have%20no%20interest%20in%20the%20business%20other%20than%20respect%20for%20their%20competence.%3C%2FEM%3E%3C%2FP%3E%3CP%3EAnother%20approach%20is%20the%20undocumented%2C%20but%20often%20successful%2C%26nbsp%3B%3CA%20href%3D%22http%3A%2F%2Fwww.allenbrowne.com%2Fser-47.html%22%20target%3D%22_self%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3ESave%20As%20Text%3C%2FA%3E%26nbsp%3B%20method%20documented%20on%20Allen%20Browne's%20site.%20It's%20part%20of%20a%20series%20of%20things%20he%20discusses.%3C%2FP%3E%3CP%3E%3CBR%20%2F%3EGood%20luck%20and%20please%20let%20us%20know%20if%20you%20are%20successful.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1942364%22%20slang%3D%22en-US%22%3ERe%3A%20This%20Object%20was%20saved%20in%20an%20invalid%20format%20and%20cannot%20be%20read%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1942364%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F126074%22%20target%3D%22_blank%22%3E%40George%20Hepworth%3C%2FA%3E%26nbsp%3BThank%20you%20so%20much%20for%20the%20reply!%20I've%20now%20tried%20to%20decompile%20and%20recompile%2C%20unfortunately%20that%20has%20not%20solved%20the%20issue%2C%20I'll%20try%20this%20save%20as%20a%20text%20file%20method.%26nbsp%3B%3CIMG%20class%3D%22lia-deferred-image%20lia-image-emoji%22%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Fhtml%2Fimages%2Femoticons%2Fsmile_40x40.gif%22%20alt%3D%22%3Asmile%3A%22%20title%3D%22%3Asmile%3A%22%20%2F%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI'm%20really%20not%20that%20experienced%20at%20access%20but%20I%20find%20it%20very%20curious%20that%20this%20error%20only%20happens%20on%20my%20main%20computer%2C%20when%20I%20launch%20the%20database%20on%20the%20data%20entry%20computer%20it%20prints%20the%20report%20just%20fine%2C%20Also%20I%20tried%20editing%20the%20reports%20on%20another%203rd%20computer%20and%20it%20worked%20until%20recently%20(now%20it%20throws%20the%20same%20error).%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWould%20you%20know%20if%20splitting%20the%20database%20will%20prevent%20this%20error%3F%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAgain%20thank%20you%20so%20much%20for%20your%20time!%20I%20really%20appreciate%20the%20help%26nbsp%3B%3CIMG%20class%3D%22lia-deferred-image%20lia-image-emoji%22%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Fhtml%2Fimages%2Femoticons%2Fsmile_40x40.gif%22%20alt%3D%22%3Asmile%3A%22%20title%3D%22%3Asmile%3A%22%20%2F%3E%2C%20I'll%20keep%20the%20forum%20updated!%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1942509%22%20slang%3D%22en-US%22%3ERe%3A%20This%20Object%20was%20saved%20in%20an%20invalid%20format%20and%20cannot%20be%20read%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1942509%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F878892%22%20target%3D%22_blank%22%3E%40Chris_Amstutz%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3ESplitting%20the%20accdb%20probably%20wouldn't%20make%20that%20much%20difference%20but%20it's%20always%20a%20good%20idea%20to%20split%20every%20relational%20database%20application%20in%20any%20event.%3C%2FP%3E%3CP%3EThe%20difference%20between%20behavior%20on%20different%20computers%20may%20be%20related%20to%20different%20version%20of%20Office.%20Is%20everyone%20working%20with%20the%20same%20version%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
New Contributor

Hello Everyone, 

 

Context:

I'm having a pretty concerning issue with my access database, was hoping to get some help (not sure if this is the right forum for this). I'm new to access, and in the last month I've spent quite a bit of time making a company access database for registering time sheets. I haven't split the database yet (I figured I'd wait until the database was more developed), The database is currently being opened by multiple computers over a shared network, one a time.

 

Problem:

After making some formatting changes to one of the forms (a process I've done many times), the access forms (this issue is only present on  2 out of the 4 reports on the database) throw an error that says "This Object was saved in an invalid format and cannot be read". It doesnt matter if I chose design mode, report mode, or just try and generate the report I get the same error, and cant edit, or access the form.

 

What's especially weird is that when I check the database on other computers it opens just fine, the reports print out. but when I tried editing the form on another computer and saving, I get the same error and the computer I edit on is then incapable of opening or printing the report.

 

additionally, If I try and open an archived/older version of the database (i've been saving versions of the database) I get the same error. 

 

Im stumped

 

Thanks so much for your time

 

Chris

6 Replies

@Chris_Amstutz 

This is, unfortunately, not uncommon. Not frequent but certainly it does happen.

That form is corrupted. Fortunately, it sounds like only that one form is bad. And two reports I guess?

 

It could be the entire accdb! That happens also.

 

So, recovery. Your backups appear to have been saved with the corruption already present in the form(s) and report(s). Bad, but not the end of the world.

 

One approach is to start over with a clean, new accdb and import everything into it EXCEPT those objects that are corrupted. Then recreate them from scratch. A lot of frustrating work if you can't get the good versions from backups.

 

You can also try a couple of other trouble-shooting steps on a COPY of the accdb. Use a copy in case your trouble-shooting goes wrong. 

One common approach is outlined in this article  This is known as decompile/compile and many developers have rescued their applications that way. Not all, unfortunately, but some.

Note that FMS is a third-party vendor or Access tools, but I have no interest in the business other than respect for their competence.

Another approach is the undocumented, but often successful, Save As Text  method documented on Allen Browne's site. It's part of a series of things he discusses.


Good luck and please let us know if you are successful.

 

@George Hepworth Thank you so much for the reply! I've now tried to decompile and recompile, unfortunately that has not solved the issue, I'll try this save as a text file method. :smile:

 

I'm really not that experienced at access but I find it very curious that this error only happens on my main computer, when I launch the database on the data entry computer it prints the report just fine, Also I tried editing the reports on another 3rd computer and it worked until recently (now it throws the same error). 

 

Would you know if splitting the database will prevent this error? 

 

Again thank you so much for your time! I really appreciate the help :smile:, I'll keep the forum updated! 

@Chris_Amstutz 

Splitting the accdb probably wouldn't make that much difference but it's always a good idea to split every relational database application in any event.

The difference between behavior on different computers may be related to different version of Office. Is everyone working with the same version?

 

 

It looks like everyone is on Access 2016, would there be different software versions (like v1.01 or something of that sort?).

@Chris_Amstutz 

If everyone is on the same version of Office, and you are all receiving updates via the same channel, you shouldn't have a problem in that regard. There can be slight differences if some computers are on, say a monthly update and others on a longer schedule. I was more concerned here with versions like 2007 and 2016 or something. That's when issues like this could happen.

 

Given that some people's computers do not experience the problem while others do, I'd probably go ahead and give everyone a new copy of the accdb FE, one which you can confirm doesn't have this problem and go from there.

Depending on your IT policies, it would also be a good idea to repair the Office installations on all computers as well. 

Otherwise, the fact that there is a discrepancy is actually a good sign in one way. It suggests that the master copy of the accdb FE from which each user's copy was made is okay.

 

 

@Chris_Amstutz 

 

Hm. I just re-read your initial post. I forgot you had not yet split the accdb into the Interface components in a Front End and the data in tables in a Back End.

 

Do that now. Do it with a known good copy of the accdb. Put the BE in a shared location. Give every user their own copy of the known good FE. Keep a master copy of the known good FE away from any other user so you can recover from it if necessary. Never let two users open the same copy of an FE. 
And make sure your data is backed up regularly (daily or more often would be better.)