?
Solved

MS Access Database Repair

Posted on 2014-04-16
8
Medium Priority
?
538 Views
Last Modified: 2014-07-25
See attached message (file called access_repair.jpg).

We have a process wherein a Microsoft Access database is linked to a Quick Books database. This process runs on a Windows XP scheduled task every night. It consists of bat files, ftp to a web server and running macros & queries in the access DB.

I am aware of the fact that XP has "expired" & is no longer supported by Microsoft.

The last two nights, the process has failed with the attached message.

See attached file called Linked_to_Lss. This shows the tables in the database; note some are externally linked; those connect to Quick Books tables.

Is it safe to do the suggested Repair? Will that NOT effect the Quick Books tables?

Why would this all of a sudden be a problem? It's been running for years. Slight changes were made a few weeks back but it has run properly for about two weeks.

I can provide the main macro & all of the executed queries, if need be.

Thanks!
access-repair.jpg
LSS-Access-tables.jpg
0
Comment
Question by:Richard Korts
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 4
8 Comments
 
LVL 58

Accepted Solution

by:
Jim Dettman (Microsoft MVP/ EE MVE) earned 2000 total points
ID: 40004246
<<Why would this all of a sudden be a problem? >>

 It's very hard to say, and it might be related to the OS or Access, not the DB.

 First, make a backup copy of the DB as it stands.   You can then run a compact and repair on it.   This will not touch the QB tables in any way.

 After the C&R, check if the database is operational.   I would also open a code module and do a compile, and make sure it compiles without error, and then save.

 If after that, the process continues to fail, then you'll need to pin down what is causing the failure.

Jim.
0
 

Author Comment

by:Richard Korts
ID: 40004314
To JDettman (Jim Dettman)

Do I just copy the mdb file & put it somewhere or is there a backup utility in Access?

Thanks,

Rkorts
0
 
LVL 58
ID: 40004333
You can just do a simple file copy.  Just make sure it's not in use when you do.

Jim.
0
Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

 

Author Comment

by:Richard Korts
ID: 40004382
I did the Compact & Repair; the Mouse Pointer turned to an hourglass for like one second.

Does it work that fast?

Thanks
0
 
LVL 58
ID: 40004439
Sometimes yes.   Depends on what's in the DB, how large it is, etc.

Jim.
0
 

Author Comment

by:Richard Korts
ID: 40004451
OK, I have scheduled to try the overnight process again at 1 PM Central Time (about 90 minutes from now). We shall see.

Thanks
0
 

Author Comment

by:Richard Korts
ID: 40004834
To JDettman (Jim Dettman)

I ran the overnight; it failed, but for a different reason. See attached.

Even though I arranged with the customer that no one be on Quick Books at the specified time, I suspect someone was on & this record could not be adjusted due to that.

I will ask a Quick Books question regarding this one.

Thanks
ODBC-Error.JPG
0
 
LVL 58
ID: 40004931
<<Even though I arranged with the customer that no one be on Quick Books at the specified time, I suspect someone was on & this record could not be adjusted due to that.>>

 Sure looks like it.

Jim.
0

Featured Post

NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

It’s been over a month into 2017, and there is already a sophisticated Gmail phishing email making it rounds. New techniques and tactics, have given hackers a way to authentically impersonate your contacts.How it Works The attack works by targeti…
Code that checks the QuickBooks schema table for non-updateable fields and then disables those controls on a form so users don't try to update them.
With Microsoft Access, learn how to specify relationships between tables and set various options on the relationship. Add the tables: Create the relationship: Decide if you’re going to set referential integrity: Decide if you want cascade upda…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …
Suggested Courses

800 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question