Been scratching my head for a while trying to figure out why a simply CFC method with a couple of arguments and a plain select query was throwing an error. The error was name can’t be empty no case, no real clue as to what it was. Turns out after some digging and googling (HOF - cf-talk ) that it comes from if you have a query in the form cfquery name=”qname” dsn=”#dsn#” and your dsn variable is an empty string it throws that error. Just got to figure our were in my code the bug is!