portal entry

select a category, or use search below
(searches all categories and all time range)
Title:

ColdFusion Builder 2018 – Datasource ‘XXX’ could not be found.

| View in Portal
November 06, 2019 11:39:38 PM GMT
1 Comment
<p>I installed ColdFusion 2018 on our Windows 2012 sandbox server with SQL Server 2012 Express installed.  I am able to configure several datasources using the CFAdmin which shows OK as the status.  But when I try using the connection in a cf page from CFBuilder, I get the error, Datasource AP2 could not be found. The error occurred in D:/ColdFusionBuilder2018/ColdFusion/cfusion/wwwroot/CFTest1/TestDB.cfm: line 3 1 : // script 2 : <cfscript> 3 : myquery = QueryExecute('SELECT * FROM artists', [], {datasource = 'AP2'}); […]</p>
<p>The post <a rel="nofollow" href="https://coldfusion.adobe.com/2019/11/coldfusion-builder-2018-datasource-xxx-not-found/">ColdFusion Builder 2018 – Datasource ‘XXX’ could not be found.</a> appeared first on <a rel="nofollow" href="https://coldfusion.adobe.com">ColdFusion</a>.</p>
Labels: 32-bit Support, ColdFusion 2018, Question, 32-bit support, administrator, coldfusion 2018, question

Comments:

Can you double check the name in the admin against your code ? What about if you setup the data source using Application.cfc instead ?
Comment by Tom Chiverton
3541 | November 18, 2019 09:42:07 AM GMT