The possibility to add a NEW ODBC source as described below is NOT possible anymore since Automation Engine 16.1. All existing configurations will continue to work until further notice. Please consult the release notes for information about discontinuation of functionality.
Automation Engine can be set up to look up SmartName values from an external SQL database. There are several cases where you need to reconfigure the existing ODBC 3- bit connection or create a new ODBC 32-bit connection to the database:
When the host name of the existing remote SQL server changes.
When the name of the database changes.
When you move the database to a new server.
When you move Automation Engine to a new server.
If the connection is not configured correctly, the SmartName look up will fail. When you open the SmartNames view in Automation Engine Pilot, you can see an error message similar to this one:
"Error code = 80004005 (U) [Microsoft]/SQL Native Client|Named Pipes Provider: Could not open a connection to SQL Server . (Source=Microsoft OLE DB Provider for ODBC Drivers)".
You need to perform the steps given below on your Automation Engine (Master) Server:
Open the ODBC Data Source Administrator (32-bit) which is found in the path C:/Windows/SysWOW64/odbcad32. On Windows Server 2012, you can access it by searching for the app "ODBC Data Sources (32-bit)".
Do not use the 64-bit version as Automation Engine 12.2.0 can only connect to the 32-bit version!
Go to the System DSN tab and click Add.
Select the SQL Server value and click Finish (SQL Server Native Client 10.0 may work as well).
In the Name: field enter the same name as the host name of the remote SQL server. The Description: field can be left blank if you like. And in the Server: field click the drop-down arrow and choose the host name of the remote SQL server.
Click Next. Depending on your database's configuration either:
Select With Integrated Windows Authentication (when you don't need to specify a user name and password to connect to the database).
Or select With SQL Server authentication using a login ID and password entered by the user. In this case, you need to obtain a valid user name and login from the administrator who set up the database (this is the most common choice).
Enable the Connect to SQL Server to obtain default settings for the additional configuration options checkbox.
Click Next. Click the drop-down arrow of the Change the default database to: field and choose any of the available databases.
Click Next. Keep the default settings for this screen (only enable Perform translation for character data).
Click Finish. Then click Test Data Source....
It should return the message: TEST COMPLETED SUCCESSFULLY!.
Extra data source becomes visible in the System DSN tab.
Depending on the values saved in step 5 (use integrated Windows Authentication or specify a user name and password), you need to set up the configuration for each SmartNames which looks up a value in the database.
When you use the integrated Windows Authentication, the settings look like this when the database name is sqlb00:
When you need to specify a user name and password, it needs to look like this:
Esko support has seen cases where the configuration of the database authentication was changed during maintenance of the database server. Where it was then needed to both:
Reconfigure the ODBC connection or create a new connection using user name and password instead of the integrated Windows Authentication
Add the UID and password in each existing database look up SmartName's configuration as specified in the above screenshot.
32-bit versus 64-bit ODBC:
On 64-bit hardware (e.g.: Windows Server 2008 R2), the Interact with Database task and Database Access Points can only work with 64-bit Windows ODBC Data Sources. Add your data source via the 64-bit ODBC Administrator tool. This can be found in: \Windows\System32\Odbcad32.exe).
On 32-bit hardware (e.g.: Windows Server 2003), the Interact with Database task and Database Access Points can only work with 32-bit Windows ODBC Data Sources. Add your data source via the 32-bit ODBC Administrator tool. This can be found in: \Windows\SysWoW64\Odbcad32.exe).
From Automation Engine 14.0 onwards, this is completely redesigned. You don't need to create a 32-bit ODBC connection anymore, but everything is available from the standard Automation Engine configure panel.
Automation Engine 12.x up to Automation Engine 16.0