ADODB.Command error '800a0d5d'

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

/data/functions.asp, line 404