ColdFusion · Database exception

Connection Verification Failed For Data Source

What does Connection Verification Failed For Data Source mean in ColdFusion?

ColdFusion Administrator (or a cfquery against that datasource) can't get a live JDBC connection to validate — commonly wrong or blank credentials, a JDBC driver ColdFusion no longer bundles, a blocked network path, or the datasource's connection timeout expiring before the database responds. The real java.sql.SQLException (auth failure, timeout, missing driver) is nested inside this generic wrapper message.

Connection Verification Failed For Data SourceAdobe ColdFusion

Condition

ColdFusion Administrator (or a cfquery against that datasource) can't get a live JDBC connection to validate — commonly wrong or blank credentials, a JDBC driver ColdFusion no longer bundles, a blocked network path, or the datasource's connection timeout expiring before the database responds. The real java.sql.SQLException (auth failure, timeout, missing driver) is nested inside this generic wrapper message.

Fix

Open the datasource's advanced settings and re-enter the username/password explicitly instead of trusting a blank or inherited value, then run a validation query (SELECT 1) from cfquery wrapped in cftry/cfcatch to surface the actual nested SQLException.

Pending source verification. Not yet checked against official documentation.

Related database exception