The connection is not open (Error 40512)

Because there is no connection to a database, the Connection property cannot reference a valid database connection. To establish a database connection, check the SQL property, set the DataSourceName or Connection property to a valid value, and use the Refresh method against the RemoteData control.