ColdFusion 11: Connection verification failed for data source


After upgrading to ColdFusion 11, verifying a data source in ColdFusion Admin (especially those where you need to specify the instance name as part of the server, i.e. Server: server-name/instance-name) will result in the following error thrown:

Connection verification failed for data source: <data-source-name>
java.sql.SQLNonTransientConnectionException: [Macromedia][SQLServer JDBC Driver]Conflicting connection information. When the instance name is specified, it is invalid to specify the port number.

The root cause was that: java.sql.SQLNonTransientConnectionException: [Macromedia][SQLServer JDBC Driver]Conflicting connection information. When the instance name is specified, it is invalid to specify the port number.

Follow these steps to resolve the above error:

  1. Edit the data source
  2. Expand Show Advanced Settings
  3. In the Connection String box, enter: allowPortWithNamedInstance=true
  4. Click Submit
  5. You should now see the message: data source updated successfully

Repeat the above steps for all data sources with the same entry for its Server, i.e. those with values of server-name/instance-name.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s