Cannot close or detach extended cursor because it is currently in design mode. (Error 2079)

This occurs if the cursor in the system data session is inadvertently closed.