Datasource doesn't exist - MSSQL + Lucee 4.5.1

Getting datasource related error

Actual CFML code

SELECT 1 as ID UNION SELECT 2 UNION SELECT 3 UNION SELECT 4 UNION SELECT 5

DSN Undefined or Empty

Thoughts?

Solved - datasources are directory dependent and putting this file in the
subdirectory caused the datasource to be unavailable even though the var
was set… Quizzical and not very useful, and not my expectation. Works
when I move it up to the site root.