473,387 Members | 1,374 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Access closes when compacting and wont repair

Whenever I try to backup my database or compact it, I get the
"Microsoft Access has encountered a problem and needs to close" deal
with the option to repair. When I attempt to do that, it tries to
backup the database and I get the same thing over and over.

In addition, whenever I try to export or copy my main table, which is
"tblGuest", it corrupts my database and then I get an error message
saying my file is no longer an Access database.

Any suggestions?
Mar 7 '08 #1
1 1234
Make backups.

First try creating a blank database and importing all of the objects
from the suspect version. Compact, test, and try to recreate the
original problem. This may put you in the clear.

If not, try decompile. check here for help http://allenbrowne.com/tips.html

If you can't make that work you might search microsoft for jetcomp.exe

And if that doesn't work there are several comercial ventures that
will try and recover your application. I don't have a preference
there.

Good luck

tim mills-groninger

On Mar 7, 2:46*pm, RussCRM <srusskin...@gmail.comwrote:
Whenever I try to backup my database or compact it, I get the
"Microsoft Access has encountered a problem and needs to close" deal
with the option to repair. *When I attempt to do that, it tries to
backup the database and I get the same thing over and over.

In addition, whenever I try to export or copy my main table, which is
"tblGuest", it corrupts my database and then I get an error message
saying my file is no longer an Access database.

Any suggestions?
Mar 7 '08 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: Graham Taylor | last post by:
I've tried posting this in the 'microsoft.public.access' but I will post it here also, as I think it might be the webserver which is causing my problem. --------- I have an Access 2003 database...
3
by: Random Person | last post by:
Does anyone know how to use VBA to relink tables between two MS Access databases? We have two databases, one with VBA code and the other with data tables. The tables are referenced by linked...
2
by: Dean | last post by:
I have a Microsoft Access database that is getting to large. I want to be able to backup old records and remove them from the database. What is best way to do this?
5
by: lappy | last post by:
Hello, I have written a small programme to compact an access 97 database. Dim je As New JRO.JetEngine ' Compacts database Data.Mdb to Data2.mdb. je.CompactDatabase...
7
by: Riley DeWiley | last post by:
Subject says it all. I am writing in C++/OLEDB and want to compress + repair from my program, what do I have to do? Thanks, RDeW
14
by: Sonic | last post by:
I have an MDE file that is growing exponentially (from 3,900 KB to over 132,000 KB today). I am not saving data in this MDE, although I use a mix of offline and SQL tables for Read Only querying. ...
2
by: Simon Johnson | last post by:
Hi all, I'm writing a program that does a lot of table droping and updating.. After i've performed these steps it would be nice to run the compact and repair function on the database. How can I...
12
by: John Baker | last post by:
Hi: I have read a number of threads on the issue of compressing (compacting) Access data bases programmatically, and have been left confused. We are using Access 2000, and I need code that will...
2
by: Beejer | last post by:
I have a weird problem that I'm trying to solve but can't seem to find a solution at this time. My Access database closes completely when the "Else" of the VBA code is applicable. I'm running...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.