ADODB.Recordset error '800a0e7d'

The connection cannot be used to perform this operation. It is either closed or invalid in this context.

/scripts_rev/rev/photo_functions.asp, line 61