Right off the bat, i see a disconnect between your DSN here:

$ConnDSN = "ncivesConn"

and they way you use it, here:

$recordset = DBCommand($dsn,$sql)

should (at least) be trying $ConnDSN instead of $dsn ?