ADODB.Command error '800a0d5d'

Application uses a value of the wrong type for the current operation.

/server/active_sessions.inc, line 99