Skip to main content
Nintex Community Menu Bar
Knowledge Base

Import Data Error, OleDbConnection is Null or Closed and Requires an open and available connection

  • Mar 26, 2021 9:41 AM UTC
  • Dec 2, 2026 7:12 AM UTC
  • 0 replies
  • 864 views
  • Translate All

MRepetti
Nintex Employee
Forum|alt.badge.img+11

Issue


While importing data (either manually or using the Open Data action), an error is displayed regarding an open and available connection or stating OleDBConnection is Null or Closed. 

This could be the result of one of a few scenarios:

  • An older version of Microsoft Access Database Engine, 2010 is installed. (This version is only supported by Foxtrot v15.1.2 and below)
  • The 64-bit version of Microsoft Access Database Engine 2016 is installed. (This is not supported at all)
  • Microsoft Access Database Engine 2016 is installed with v18.1 of Nintex Foxtrot RPA Bot.
  • Microsoft Access 365 Runtime is installed with Bot v18.1 but Microsoft Office 64 bit is installed. 


Error Code

Try this for any error that mentions a connection such as the two displayed below. 

 

Update Error Row XXX Error

Update Error Row XXX Error - System.InvalidOperationException:ExecuteNonQuery requires an open and available Connection. The connection's current state is closed. 

 

OleDbConnection is Null or Closed

Foxtrot RPA (versions 15.1.13 and below) or Foxtrot RPA LE (Bot versions 16.0.4 to v18.1) are 32-bit applications that use a helper app called Foxtrot64 to interact with 64-bit systems. The 32-bit version of the Microsoft Access Database Engine or the 32-bit version of Microsoft Access 365 Runtime is needed to work with Foxtrot64. 

 

When upgrading Foxtrot v15.1.2 or below to newer versions, Microsoft Access Database Engine 2010 32 bit or 64 bit will need to be uninstalled first. Microsoft Access Database Engine 2016, 64-bit should not be installed but if it is, uninstall it.

***The installer for all Foxtrot versions up to and including Bot v18.0 will not uninstall any version of MS Access Database Engine, but it will automatically install the 32-bit version of MS Access Database Engine 2016 when another version is not already installed.

 

***Starting with Foxtrot RPA Bot v18.1, the installer will first uninstall Microsoft Access Database Engine 2016 (32 bit) if it is installed and install Microsoft Access 365 Runtime but will not remove any of the others mentioned above. Before upgrading to Bot v18.1, it is best to uninstall any version of Microsoft Access Database Engine first. 

 

Also, If running version 15.1.2 or below, these versions will use Microsoft Access Database Engine 2010, but after 15.1.2, an error will be received if running 2010 or any version of Access DB Engine that is not 32 bit. 

 

Resolution

 

Navigate to Programs and Features and look to see what version of Microsoft Access Database Engine is installed.

 

If using Foxtrot version 15.1.4 or above or and RPA LE version:

  • Navigate to Programs and Features and check to see what version of Microsoft Access Database Engine is installed.
  • RPA LE version 15.1.4 and above require the Microsoft Access Database Engine version 2016, (32 bit). 
  • If version 2016 (32 bit) is already installed, it may have become corrupt, try running a repair. 
  • If MS Access Database Engine 2010 (32 bit or 64 bit) or MS Access Database Engine 2016, (64 bit) is installed, uninstall it and install MS Access database engine 2016, 32 bit. 
  • If you are running a 64 bit version of Microsoft Office, the /Quiet command noted in the Community Post link below, under Related Links, will need to be used to install the 32 bit version of MS Access Database Engine, 2016. 
    • An alternative to using the /Quiet command is to uninstall Foxtrot or RPA LE, delete the MS Access database engine and reinstall Foxtrot or RPA LE. 

If using Foxtrot version 15.1.2 or below, the Microsoft Access Database Engine 2010 (32 bit) will need to be installed. 

 

Additional Information

 

The RPA Development Team recommends that you always upgrade your versions of RPA Bot to the newest version available as well as the newest version of RPA Central. This will ensure that you have all implemented bug fixed and new features. 


If you are using Nintex Foxtrot RPA version 15.1.12 or below and cannot upgrade to Foxtrot RPA LE due to your license, please upgrade to version 15.1.13 which is the latest version of the older Foxtrot system.

 

These version contain fixes for maintaining a persistent connection to the .accdb file that fixes connection issues to the database.  Especially when the database is located over the network and can cause errors such as this.

 

If you have upgraded to Foxtrot RPA Bot v18.1 or above, or want to use Microsoft Access 365 Runtime please see this Help article for more information. 

https://community.nintex.com/rpa-le-63/microsoft-access-365-runtime-to-replace-ms-access-database-engine-2016-73770?tid=73770&fid=63

 

Related Links

In the Community Post link below, you may read the entire post, but please focus on the last post from EHerrera, RPA Development Team Manager. (7th reply) 

Community Post - Import Data from Excel Issue

RPA-has-detected-an-issue-that-is-preventing-Excel-Support