[en] Connection to Excel .XLS data sources fails when using Microsoft Jet 4.0 OLE DB Provider

La traduction officielle n'est pas encore disponible.

[en] Problem

[en] When you use NiceLabel software to connect to Excel .XLS type of data files, NiceLabel uses the database driver "Microsoft Jet 4.0 OLE DB Provider" by default. You might not be able to connect to such data sources with NiceLabel software.


[en] Connection to .XLSX type of Excel file is unaffected.

[en] You can see the system error message

[en] "Unexpected error from external database driver (1)."

[en] or

[en] "Database Login" dialog box, prompting you for the user name and password.

[en] Solution

  • [en] Install the latest Windows updates.

  • [en] Install the latest NiceLabel software.

[en] Workaround

[en] NiceLabel uses ACE provider to connect to .XLS Excel data sources, even if you have initially configured JET provider on the labels. The switch happens automatically when you open a label. The ACE provider is backward compatible with the JET provider, so there are no issues making the switch.

[en] NiceLabel uses the ACE provider also for each new .XLS Excel file that you use in your solutions. If ACE provider is not available, NiceLabel downgrades to the JET provider.

[en] The ACE provider is installed with Microsoft Office products but can also be installed separately (you can download it from Microsoft). You can install 32-bit or 64-bit ACE provider.

[en] You can also change the provider from "Microsoft Jet 4.0 OLE DB Provider" (JET) to "Microsoft Office XX.0 Access Database engine OLE DB Provider" (ACE) (XX is a version number of your database provider). Change the provider for each NiceLabel solution.