From:       To:      
Home > Documentation > IBM DB2

How to resolve error "SQL1513N The connection failed because the name specified with DSN connection string keyword could not be found..."

The error occurs because there is no DB2 database alias configured on the machine where you run Intelligent Converters software. This situation may take place when the system uses IBM Data Server Driver for ODBC and CLI to connect to DB2 database. It must be configured manually since it is not part of the integrated IBM Server or Client environment.

Check the DSN configuration. The error typically indicates that the specified DSN name in the connection string cannot be found:

Check the connection string you are using to connect to the database. The DSN name should be specified correctly. Ensure that there are no typographical errors or extra spaces in the connection string. Use the ODBC Data Source Administrator tool to test the connection to the DSN. Follow these steps:

Ensure that the database server associated with the DSN is running and accessible. Check the server name, port number, and network connectivity to the server. If you made changes to the DSN configuration or the connection string, restart the application that was generating the error and check if the issue is resolved.

You can learn how to configure connection for ODBC and CLI IBM Driver in article Connecting to DB2 database

Have questions? Contact us