The rdoConnection object is already connected to a data source (Error 40072).

You attempted to use the EstablishConnection method against an rdoConnection object while it is still connected to a data source. Use the Close method to disconnect from the current connection before retrying the operation.