Invalid state for Move (Error 40023)

An attempt was made to call either rdoResultset.MoveFirst or rdoResultset.MoveNext when the result set was marked as invalid. A result set can be marked as invalid if:

To avoid this error, be sure that the current result set is valid and that you have not called an operation that would mark it as invalid.