KB: PartSync fails or crashes when using Excel as a Custom Parts Provider

Altium Designer Altium Designer
When using an Excel file as the source for a Custom Parts Provider, PartSync in Altium Designer may fail or cause a crash with errors such as “Cannot load data from table ‘Sheet$’” or “IErrorInfo.GetDescription failed with E_FAIL (0x80004005)”. This behavior is typically related to the Microsoft ACE OLE DB provider used by Altium Designer to read Excel data, rather than an issue with the Excel file itself or with Altium Designer configuration. The issue is more commonly observed when the Excel file is stored on a network path and may appear after a system restart or environmental change. Reinstalling the Microsoft Access Database Engine and allowing sufficient time for system and network initialization after restart resolves the issue in most cases.

Solution Details

PartSync failure or crash symptoms

Users may encounter PartSync failures or application crashes when synchronizing a Custom Parts Provider that uses an Excel file as its data source. The error may explicitly reference Sheet$, which is the internal name used by the Microsoft ACE OLE DB provider for Excel worksheets. Renaming the worksheet is not required, as this reference is generated internally by the provider. The issue often occurs immediately when starting PartSync and may appear after a Windows restart, Office update, or other system-level change.

Altium Designer Properties and Components Preview panels showing a database connection with errors stating “Cannot load list of tables” and “Cannot load data from table ‘Sheets’,” indicating the data source failed to load.

Why Excel access can fail unexpectedly

Altium Designer accesses Excel data through the Microsoft ACE OLE DB provider. If the provider is not fully initialized, is in an inconsistent state, or encounters access or timing issues—particularly with Excel files stored on network paths—it may fail to load the worksheet data. In such cases, the provider may return a generic error or fail to open the worksheet entirely, which can result in a PartSync failure or an application crash. Reinstalling Microsoft Office alone does not always resolve this behavior, as the ACE OLE DB provider is installed and maintained separately from Office.

Recommended actions to restore stability

  • Refresh the Microsoft ACE OLE DB provider by reinstalling the Access Database Engine.
  • Ensure the system and network environment are fully initialized after a restart before running PartSync.

Steps to refresh the Access Database Engine

  1. Uninstall any existing Microsoft Access Database Engine installation from Windows.
  2. Download and install the Microsoft Access Database Engine 2016 Redistributable.
  3. Restart the computer.
  4. After restart, wait until Windows startup processes and network connectivity are fully initialized.
  5. Confirm that the Excel file used for PartSync is not open on any other computer.
  6. Launch Altium Designer and run PartSync again.

Additional Notes

Best practices and recommendations:

  • Reinstalling Microsoft Office is not typically required to resolve PartSync issues. Altium Designer relies on the Microsoft Access Database Engine (ACE) to read Excel files, which is installed and managed separately from Office.
  • While Excel files stored on network drives are supported, they are more sensitive to access timing, file locks, and provider initialization. For improved reliability, storing the Excel file on a local drive is recommended where possible.
  • For environments with frequent updates, multiple users, or larger datasets, consider using a database source such as Microsoft Access or SQL Server instead of Excel. Database sources provide more robust concurrency handling and are less susceptible to provider-related access issues.
  • A one-time failure or crash may occur immediately after the first restart following reinstallation of the Access Database Engine. This is typically related to provider or network initialization timing and does not indicate a persistent issue.

References

Если вы обнаружили проблему, выделите текст/изображение и нажмитеCtrl + Enter, чтобы отправить нам свой отзыв.