ADODB.Command error '800a0d5d'

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

/include/functions.asp, line 1215