Connection is either not specified or could not be established.

The Command object does not have an associated Connection object or the specified connection could not be opened. The connection properties may be incorrect or the server may not be available. You must associate the current Command object with a Connection object, using the Connection box on the General tab of the Command Properties dialog box, before the Database Name list can be populated.