Ошибка id не является индексом данной таблицы access

I am getting errors in Access when attempting to open both the database
and the table.

Error: ‘Id’ is not an index in this table

Please help me, this is in production.

May Anyone Please share their expertise if come across with same scenario

asked Mar 8, 2016 at 6:15

akhrot's user avatar

akhrotakhrot

4152 gold badges7 silver badges17 bronze badges

6

It means that database corrupted.
Try to restore database as it described here. Also check this, item 20 and this. And finally check how to prevent corruption.

answered Mar 8, 2016 at 15:35

Sergey S.'s user avatar

Sergey S.Sergey S.

6,2981 gold badge14 silver badges29 bronze badges

I also had this error message. Unfortunately the links provided by Sergey only helped in so far as that it became clear to me that my Current DB was unrecoverable.

I fixed the issue by:

  1. Creating a new Access DB
  2. Manually exporting each table from the old one (Access still allowed me to export to another DB, eventhough I got the error message on each and every export)
  3. Recreating all necessary relationships between tables in the DB

Note: This solution worked well for me because the error appeared in the backend of my DB. If you have an unsplit DB, this could be a huge effort.

answered Mar 13, 2018 at 10:24

rohrl77's user avatar

rohrl77rohrl77

3,24511 gold badges46 silver badges73 bronze badges

Вопрос:

Я получаю ошибки в Access при попытке открыть базу данных и таблицу.

Ошибка: “Id” не является индексом в этой таблице.

Пожалуйста, помогите мне, это в производстве.

Любой может поделиться своим опытом, если столкнется с тем же сценарием

Лучший ответ:

Это означает, что база данных повреждена. Попробуйте восстановить базу данных, как описано здесь. Также проверьте это, пункт 20 и это. И, наконец, проверьте, как предотвратить коррупцию.

Ответ №1

У меня также было это сообщение об ошибке. К сожалению, ссылки, предоставленные Сергеем, помогли мне, поскольку мне стало ясно, что моя текущая БД была невосстановимой.

Я исправил проблему:

  1. Создание новой базы данных доступа
  2. Вручную экспортировать каждую таблицу из старой (доступ все еще разрешил мне экспортировать в другой БД, в то время как я получил сообщение об ошибке при каждом экспорте)
  3. Воссоздание всех необходимых связей между таблицами в БД

Примечание. Это решение сработало для меня, потому что ошибка появилась в бэкэнде моей БД. Если у вас есть нерасщепленная БД, это может быть огромным усилием.

Ответ №2

Начал регулярно просматривать эту проблему после обновления компьютера проектирования до Office 365, пока пользовательские компьютеры все еще были в 2013 году. Созданный новый интерфейс (формы, запросы и т.д. Таблицы находятся в отдельном связанном файле). Экспортирует все объекты из поврежденного файла в новую БД. Началось редактирование с 2013 года, чтобы узнать, сохраняется ли ошибка. Все идет нормально.

Summary:
This blog discusses possible reasons causing the Access error “‘Id’ is not an index in this table”. And, it suggests solutions to resolve the error manually or by using an Access repair tool.

Free Download for Windows

Contents

  • What Causes the Access Error “’ID’ is not an index in this table’?
  • How to Repair your Corrupt Access Database File?
  • Wrapping Up

While attempting to open an Access Database, if you encounter an error message that reads: “’Id’ is not an index in this table”, it indicates that your Access Database file has become corrupt.

id is not an index in this table

Here’s an infographic summarizing the possible reasons behind the Access error and solutions to resolve the error.

Access error ID is not an index in this table

What Causes the Access Error “’ID’ is not an index in this table’?

Corruption in an Access database resulting in the index error might occur when:

  • The database is shared over a network in a multi-user environment; and, a copy of the database is accessed by multiple users simultaneously.
  • The error message makes reference to the Visual Basic (VB) code. However, it is quite impossible to access the VB editor to check the real cause of the interruption.
  • Different versions of the application (Access Database) are used over the network by different users. There are systems running Access 2007 and systems that are running Access 2010.

How to Repair your Corrupt Access Database File?

After you encounter the MS Access error message “‘Id’ is not an index in this table”, try to Compact and Repair Access Database. If this doesn’t work, try the following solutions:

Solution 1 – Export Objects to a New Database

If the error persists, check if you can open the corrupted Access database. If its opens, use the export tool built-in into your MS Access application to export every object of the corrupted database to a new Access database manually. The steps to export the objects into a new database are as follows:

  • Create a New blank database
  • Manually export each database object from old to new DB
  • Recreate the required relationships between tables in the database

Note: If your database is large and complicated then, it could be time-consuming to import the DB objects manually. In this case, you can go with the next solution.

Solution 2 – Use Access Repair Software

Try using Access Database Repair software such as Stellar Repair for Access to fix your corrupted database (.MDB/.ACCDB) file that might have resulted in the “’Id’ is not an index in this table” error.  The software can repair database files of Access version 2019, 2016, 2013, 2010, and earlier versions. Also, it helps restore all the database objects like tables, indexes, queries, relations. It even provides a preview of all the recoverable data, including deleted records, forms, reports, macros, etc. to help the users validate data accuracy before saving it.

Steps to repair a corrupted Access database are as follows:

Let’s look at how we can fix the Access Database error: “ID is not an index in this table” using this software:

  1. Download Stellar Repair for Access software.
Stellar
  1. Select the database by using ‘Browse’ or ‘Find’ option.
Stellar
  1. Once the file is selected, click the ‘Repair’ button to begin the database repair process. 
Stellar
  1. The software shows progress of the repair process.
  2. Once the repair is completed, a message box which reads: ‘Selected MS Access database repaired successfully’ will appear. Click ‘OK’.
Stellar

6. You can preview the contents of the selected database, including tables, deleted records, forms, reports, macros, etc. You can select single or multiple items for recovery.

Stellar
  1. You can preview the contents of the selected database. You can select single or multiple items for recovery.

Preview of repaired database

  1. Once the repair procedure is completed, the tool will ask for a storage location to save the recovered items. You can select to store data at the same location where the original ACCDB file is located or in a new folder.
Stellar
  1. Click ‘OK’ to complete the procedure to resolve the error message.

Watch the full video to repair ‘id’ is not an index error using Stellar Repair for Access.

Wrapping Up

Databases storing sensitive data are prone to get attacked by malicious users, which can turn the database corrupt. Also, factors like hardware failure, a software bug, etc. can damage an Access database and cause data loss. So, ensure to plan a recovery strategy in advance to avoid adverse circumstances. But if your Access database gets corrupted and data is lost, consider using Stellar Repair for Access software for quick and easy recovery of the data.

You might also be interested in:

How to fix Access Database Error: ‘Database needs to be repaired’?

Reasons for a failed table export in MS Access 2000 and it’s fixes

About The Author

Charanjeet Kaur

Charanjeet is a Technical Content Writer at Stellar®who specializes in writing about databases, e-mail recovery, and e-mail migration solutions. She loves researching and developing content that helps database administrators, organizations and novices to fix multiple problems related to MS SQL and MySQL databases and Microsoft Exchange.

Студворк — интернет-сервис помощи студентам

Доброго времени суток уважаемые форумчане! Пришел я к вам в унынии и отчаянии просить помощи или хотя бы моральной поддержки.

Суть проблемы в том, что в одно отнюдь не прекрасное утро Access заявил мне «Проект Visual Basic поврежден» (screen1). Что же такое произошло с проектом я просто ума не приложу. В переддень все было нормально, за исключением ошибки после которой пришлось восстановить базу. Но повторюсь, после этого все работало. Я сохранил проект БД, закрыл Access, на следующий день попытался открыть иии… на тебе (screen2).

Немного подробностей: Access как Office и Windows на виртуалке у меня десятый. При простом открытии базы выводит ошибку: мол «‘Id’ не является индексом данной таблицы». Кстати говоря тоже происходит при попытке открыть ЛЮБОЙ объект бд в том числе созданную в результате сбоя таблицу MSysCompactError.

Подозреваю, что обе эти ошибки связаны с повреждениями системных таблиц. Однако, почему это произошло мне не понятно: ведь я туда не просто не лез — даже не пытался. Последний срез виртуалки был давно еще давнее клона, бекап бд — тоже. А сделано с тех пор уже порядочно.

Инфы в интернете да и справке в Access маловато — и вся мне не подходит. Хотелось бы вернуть как минимум проект на VB — он основа моей работы. А данные формы и таблицы можно поднять из бекапа. Что порекомендуете?

Я получаю ошибки в Access при попытке открыть как базу данных, так и таблицу.

Ошибка: «Id» не является индексом в этой таблице

Пожалуйста, помогите мне, это в производстве.

Кто угодно Пожалуйста, поделитесь своим опытом, если столкнетесь с таким же сценарием

2 ответа

Лучший ответ

Это означает, что база данных повреждена. Попробуйте восстановить базу данных, как описано здесь. Также проверьте это, пункт 20 и this. И, наконец, проверьте, как предотвратить повреждение.


2

Sergey S.
8 Мар 2016 в 15:35

У меня тоже было это сообщение об ошибке. К сожалению, ссылки, предоставленные Сергеем, помогли только в том случае, если мне стало ясно, что моя текущая БД не подлежит восстановлению.

Я исправил проблему:

  1. Создание новой БД Access
  2. Ручной экспорт каждой таблицы из старой (Access все еще позволял мне экспортировать в другую БД, хотя я получал сообщение об ошибке при каждом экспорте)
  3. Воссоздание всех необходимых связей между таблицами в БД

Примечание: это решение сработало для меня, потому что ошибка появилась в серверной части моей БД. Если у вас неразделенная БД, это может потребовать огромных усилий.


1

rohrl77
13 Мар 2018 в 10:24

Понравилась статья? Поделить с друзьями:
  • Ошибка hunkusage dat в call of duty
  • Ошибка id или пароля в aibeile
  • Ошибка hung dead by daylight
  • Ошибка ics ipv6 при настройке стека ipv6
  • Ошибка huawei mobile service на xiaomi что делать