I don't actually see a cfapplication header, so I don't think
request.dsn or application.dsn would be set (or processed as
special variables). I think CF is assuming a query name of
"request" or "application", and of course those queries do not
exist, so the variables specified don't exist.
> But when i try to make a db call on my page i get an
"Element DSN is undefined
> in REQUEST", same as with application.dsn. Is the
application not starting or
> something ??
You shouldn't be setting REQUEST-scoped variables in the
onAPPLICATIONStart() method. That method only gets called
lifetime of the application, so any request-scoped variables
will only be
set for the first request of the lifetime of the app (so like
page hit after the CF server restarts, for that particular
Request variables need to be set... every request. So
probably best to set
them in onREQUESTStart().