Αναγν. άρθρου: 279334 - Τελευταία αναθεώρηση: Κυριακή, 19 Δεκεμβρίου 2010 - Αναθεώρηση: 2.0 ACC97: Τρόπος επιδιόρθωσης μιας κατεστραμμένης βάσης δεδομένων Jet 3.5
Μέση: Απαιτεί βασικές μακροεντολών, κωδικοποίησης και διαλειτουργικότητας ικανότητες. Η Microsoft Access 2.0/Jet 2.x και Access 95/Jet 3.0 έκδοση αυτού του άρθρου, ανατρέξτε στην ενότητα109953 (http://support.microsoft.com/kb/109953/EN-US/ ) . Για μια έκδοση της Microsoft Access 2000/Jet 4.0 αυτού του άρθρου, ανατρέξτε στην ενότητα209137 (http://support.microsoft.com/kb/209137/EN-US/ ) . Σε αυτήν τη σελίδαΠερίληψηΤο αρχείο της βάσης δεδομένων σας ενδέχεται να υποστεί ζημιά εξαιτίας παραγόντων του περιβάλλοντος. Τα συμπτώματα μιας κατεστραμμένης βάσης δεδομένων ποικίλουν: η ένδειξη "#Διαγραμμένο" (#Deleted) εμφανίζεται σε ορισμένες εγγραφές, δεν είναι δυνατό να ανοιχτεί ένα από τα αντικείμενα της βάσης δεδομένων ή δεν είναι δυνατό να ανοιχτεί όλο το αρχείο στην Access. Η επιδιόρθωση και βοηθητικά προγράμματα συμπύκνωσης στη Microsoft Access είναι χρήσιμα εργαλεία για την ανάκτηση και τη βελτιστοποίηση αρχείων βάσεων δεδομένων της Microsoft Access. Αυτό το άρθρο περιγράφει αυτά τα βοηθητικά προγράμματα και προσφέρει επιπλέον εναλλακτικές λύσεις για την επιδιόρθωση κατεστραμμένων βάσεων δεδομένων. Επίσης, πληροφορίες σχετικά με το τι μπορεί να προκαλέσει καταστροφή παρέχεται στην ενότητα "Τυπική προκαλεί την εμφάνιση του MDB αρχείο καταστροφής" αυτού του άρθρου. Περισσότερες πληροφορίεςΠαρόλο που τα βήματα που περιγράφονται σε αυτό το άρθρο είναι συνήθως επιτυχείς στην αποκατάσταση των κατεστραμμένων αρχείων βάσης δεδομένων, για την προστασία των δεδομένων σας, θα πρέπει να δημιουργήσετε ένα αντίγραφο ασφαλείας του αρχείου της βάσης δεδομένων, όσο συχνά μπορείτε. Η επιδιόρθωση και τα βοηθητικά προγράμματα συμπύκνωσηςΤο βοηθητικό πρόγραμμα επιδιόρθωσηςΤο βοηθητικό πρόγραμμα επιδιόρθωσης μπορεί να διορθώσει τις βάσεις δεδομένων με συγκεκριμένους τύπους ζημιά. Προσπαθεί να επιδιορθώσει μόνο τους πίνακες, ερωτήματα και τα ευρετήρια στη βάση δεδομένων. Δεν επιχειρεί να επιδιορθώσει κατεστραμμένες φόρμες, εκθέσεις, μακροεντολές ή λειτουργικές μονάδες, την, ωστόσο, αντιγράψτε τα στο νέο, επιδιορθωμένη βάση δεδομένων.Σημαντικό: Εκτέλεση τηςΕπισκευή βάσης δεδομένωνθα πρέπει να εκτελεστεί η εντολή μόνο όταν το μηχανισμό διαχείρισης βάσεων δεδομένων Microsoft Jet, επιστρέφει ένα μήνυμα σφάλματος που δηλώνει ότι η επιδιόρθωση. Για ναΕπισκευή βάσης δεδομένωνδεν πρέπει να εκτελεστεί η εντολή υπό οποιεσδήποτε συνθήκες. Βοηθητικό πρόγραμμα συμπίεσηςΤο βοηθητικό πρόγραμμα συμπύκνωσης εξαλείφει κενό χώρο σε μια υπάρχουσα βάση δεδομένων. Αυτό γίνεται με τη δημιουργία μιας νέας βάσης δεδομένων προορισμού και με την αντιγραφή κάθε αντικειμένου της παλιάς βάσης δεδομένων στην καινούργια. Εάν επιλέξετε τη συμπύκνωση της βάσης δεδομένων με το αρχικό όνομα βάσης δεδομένων αντί για μια νέα βάση δεδομένων, το βοηθητικό πρόγραμμα συμπύκνωσης δημιουργεί μια προσωρινή βάση δεδομένων, εξάγει όλα τα αντικείμενα από την αρχική βάση δεδομένων στην προσωρινή βάση δεδομένων, καταργεί την αρχική βάση δεδομένων και, στη συνέχεια, μετονομάζει την προσωρινή βάση δεδομένων με το όνομα της αρχικής βάσης δεδομένων.Σημαντικό: Συμπύκνωση της βάσης δεδομένων συχνά είναι το καλύτερο προστατευτικών συντήρησης για ένα αρχείο .mdb. Ακολουθεί μια λίστα των ενεργειών που εκτελεί το βοηθητικό πρόγραμμα συμπύκνωσης.
Σημαντικές οδηγίες για τη συμπύκνωση μιας βάσης δεδομένωνΠριν από τη συμπύκνωση μιας βάσης δεδομένων, πρέπει να πληρούνται οι ακόλουθες συνθήκες:Ο χρήστης με τη συμπύκνωση της βάσης δεδομένων πρέπει να συνδεθείτε χρησιμοποιώντας ένα λογαριασμό που διαθέτει Τροποποίηση σχεδίασης "ή" Διαχείριση δικαιωμάτων ασφαλείας για όλους τους πίνακες στη βάση δεδομένων. Πρέπει να υπάρχει επαρκής χώρος στο δίσκο για την αρχική και για τη συμπυκνωμένη έκδοση της βάσης δεδομένων, ακόμη και αν η βάση δεδομένων συμπυκνώνεται μέσα στο περιβάλλον χρήστη της Microsoft Access χρησιμοποιώντας το ίδιο όνομα αρχείου. Η συμπυκνωμένη βάση δεδομένων μετονομάζεται με την αρχική βάση δεδομένων, μόνο όταν η συμπύκνωση ολοκληρωθεί με επιτυχία. Δεν πρέπει άλλοι χρήστες να έχουν ανοιχτή τη βάση δεδομένων. When a database is compacted, it has to be open exclusively by Microsoft Jet to prevent any users from accessing and modifying the database during the process. Recovering a Damaged DatabaseIf you are experiencing Microsoft Jet 3.x error numbers 3197, 3343, or 3015, please also refer to the following article in the Microsoft Knowledge Base:182867
(http://support.microsoft.com/kb/182867/EN-US/
)
ACC: Jet Database Engine 3.x Error Messages Due to Corruption The following steps outline a general method for repairing a damaged
database:
Ως τελευταία εναλλακτική λύση, μερικές σύμβουλοι μπορεί να παράσχουν μια υπηρεσία επιδιόρθωσης της βάσης δεδομένων Microsoft Access. Because this is such a specialized service, the most efficient way to locate a consultant is to post a message in the Microsoft Access "Third Party and User Groups" Internet newsgroup, which has the following newsgroup address: microsoft.public.access.3rdpartyusrgrp For additional information about Microsoft Access Internet newsgroups, click the article number below
to view the article in the Microsoft Knowledge Base:150057
(http://support.microsoft.com/kb/150057/EN-US/
)
ACC: Microsoft Access Newsgroups Available on the Internet Typical Causes of MDB File CorruptionThere are three main causes of corruption in Access/Jet mdb files.Database is Suspect/Corrupted Due to Interrupted Write OperationYou should always quit Access properly by clickingΈξοδος (Exit)ήClose (Κλείσιμο)Στο διακομιστήFILEΜενού (Menu). If a database is open and writing data when Access is abnormally shut down, the Jet database engine may mark the file as suspect/corrupted. This can happen if the computer is manually turned off without first shutting down Windows or if power is lost. Other situations may not shut down Access but may still interfere with Jet's writing of data to the disk while the database is open. This can happen, for instance when networks experience data collisions or disk drives malfunction. If any of these interruptions occur, then Jet may mark the database as potentially corrupted.When Jet begins a write operation, it sets a flag, and resets the flag when the operation is completed. If a write operation is interrupted, the flag remains set. When you try to open that database again, Jet determines that the flag is set and reports that the database is corrupted. In most cases, the data in the database is not actually corrupted, but the set flag alerts Jet that corruption may have occurred. In cases such as this, compacting and/or repairing the database can typically restore the database. Fortunately, there are ways to determine which user and workstation was responsible for marking the file as suspect. See the "How to Determine What Users/Workstations Are Causing the File to be Marked Suspect" section later in this article. Faulty Networking HardwareIn this case, the file corruption does not involve the Jet database engine; rather the file is literally corrupted by some outside cause. The cause can be one or more links in the hardware chain between the computer that the database resides on and the computer that has the database open. This list includes, but is not limited to, network interface cards, network cabling, routers, and hubs.Hardware-based corruption is typically indicated by .mdb files that cannot be restored through the use of compacting, repairing, or Jetcomp. Hardware corruption will typically recur until the responsible hardware is repaired or replaced. Opening and Saving the MDB File in Another ProgramThere is no way to recover a .mdb file that was opened and then saved in a program other than Access. For example, Microsoft Word allows you to open an Access database and then save it (although it serves no good purpose to do so because if you open an MDB file in another program, all you can see are extended characters). Saving the file in this manner will cause the .mdb file to prompt you for a database password when you try to open it in Access even though the file may have never been password-protected in Access. The password prompt occurs in such cases because the first byte range that Access checks when it opens a file is where the database password would be. If that byte contains corrupted data, Access treats the file as being password protected. Even if there were a way to get around the password prompt in this case, the database would still be unrecoverable because the binary structure is scrambled and therefore unreadable to Access. Recovering a backup copy of the file is the only solution in this case.For additional information about this issue, click the article number below to view the article in the Microsoft Knowledge Base:223043
(http://support.microsoft.com/kb/223043/EN-US/
)
ACC: Database Password Appears Even Though It Was Never Set How to Determine What Users/Workstations Are Causing the File to Be Marked SuspectYou can determine which workstation and user caused Jet to mark a .mdb file as suspect with the LDBView utility, which is available by downloading Jetutils.exe from the following Microsoft Web site:http://download.microsoft.com/download/access97/utility1/1/WIN98/EN-US/JETUTILS.EXE
(http://download.microsoft.com/download/access97/utility1/1/WIN98/EN-US/JETUTILS.EXE)
For additional information about the Microsoft Jet Utilities, click the article number below
to view the article in the Microsoft Knowledge Base:176670
(http://support.microsoft.com/kb/176670/EN-US/
)
ACC: Microsoft Jet Utilities είναι διαθέσιμη στο Κέντρο λήψης Ldbview let you observe which users are currently logged into the database, as well as any users that may have left the file in a suspect state.Steps That You Can Take to Help Prevent Corruption
Μηχανικά μεταφρασμένοΣΗΜΑΝΤΙΚΟ: Αυτό το άρθρο είναι προϊόν λογισμικού μηχανικής μετάφρασης της Microsoft και όχι ανθρώπινης μετάφρασης. Η Microsoft σάς προσφέρει άρθρα που είναι προϊόντα ανθρώπινης αλλά και μηχανικής μετάφρασης έτσι ώστε να έχετε πρόσβαση σε όλα τα άρθρα της Γνωσιακής Βάσης μας στη δική σας γλώσσα. Ωστόσο, ένα άρθρο που έχει προκύψει από μηχανική μετάφραση δεν είναι πάντα άριστης ποιότητας. Ενδέχεται να περιέχει λεξιλογικά, συντακτικά ή γραμματικά λάθη, όπως ακριβώς τα λάθη που θα έκανε ένας μη φυσικός ομιλητής επιχειρώντας να μιλήσει τη γλώσσα σας. Η Microsoft δεν φέρει καμία ευθύνη για τυχόν ανακρίβειες, σφάλματα ή ζημίες που προκύψουν λόγω τυχόν παρερμηνειών στη μετάφραση του περιεχομένου ή χρήσης του από τους πελάτες της. Επίσης, η Microsoft πραγματοποιεί συχνά ενημερώσεις στο λογισμικό μηχανικής μετάφρασης. Η αγγλική έκδοση αυτού του άρθρου είναι η ακόλουθη:279334
(http://support.microsoft.com/kb/279334/en-us/
)
| Άλλοι πόροι Tοποθεσίες υποστήριξης
ΚοινότηταΆμεση λήψη βοήθειαςΜεταφράσεις άρθρων
|






Windows Live
Facebook
Twitter
Linkedin
Digg it
Yahoo
Delicious
StumbleUpon
Yammer
Reddit
Technorati
FriendFeed
Email



Επιστροφή στην αρχή
