You want to use Excel or Access database with your NiceLabel solution. When you try to connect to the database, you get an error message In some cases, you get the error message that you use the wrong type of file, or the database login dialog pops up when trying to connect to the Excel database.
When you try to print your labels, you get the following errors:
"An error occurred during data processing.
System error message:
Provider cannot be found. It may not be properly installed."
"Error connecting to databases
Could not establish connection to the following data tables:"
"Database provider not found.
Download Microsoft Office database provider from ..."
When you are running Web Client with a solution connected to Excel or Access database, you get the error message:
“System error message: Exception has been thrown by the target of an invocation. An error occurred while receiving the HTTP response to http://[workstation]/PowerFormsWeb/Services/V7DataServices.svc. This could be due to the service endpoint binding not using the HTTP protocol. This could also be due to an HTTP request context being aborted by the server (possibly due to the service shutting down). See server logs for more details.The underlying connection was closed: An unexpected error occurred on a receive. Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. An existing connection was forcibly closed by the remote host”
This solution applies only to 64-bit Windows.
Install Microsoft Access Database Engine 2010 Redistributable form Command Prompt (CMD) with
Go to the download page for Microsoft Access Database Engine 2010 Redistributable.
Select the option AccessDatabaseEngine.exe if you have 64-bit Office or if you have no Office installed. Select AccessDatabaseEngine_X64.exe if you have 32-bit Office.
Most of the Office installations are 64 bit so install the 32-bit driver: AccessDatabaseEngine.exe
If you use a database connection from VBScript (for example, in our Allergen solution), only the 32-bit version of the driver (AccessDatabaseEngine.exe) will work.
Click Next to download the driver.
Run Command Prompt (CMD) as Administrator.
In CMD navigate to downloaded AccessDatabaseEngine.exe or AccessDatabaseEngine_X64.exe.
Add a / passive switch and press <ENTER>.
Your database driver is now installed. Restart NiceLabel to see if your error is resolved.
For more information about connectivity to MS Office documents, see this KB article.
In some cases, problem may occur even if you have installed Microsoft Access Database Engine 2010 Redistributable. In this case uninstall all versions of Microsoft Access Database Engine and then install Microsoft Access Database Engine 2010 Redistributable.