Import preferences fails

When trying to import your settings repository from the XML file by specifying the Cancel and recreate option, the import operation fails and you receive the following message: AWSUI0924E Preferences import operation failed: Unable to create database. Moreover, the following error is logged in the SystemErr.log file: DB2 SQL error: SQLCODE: -601, SQLSTATE: 42710, SQLERRMC: TDWC.TDWC_PREFERENCEABLE;TABLE.

Cause and solution:

This might occur because the database user with administrative authority specified to import the settings does not have the privileges required to drop the existing Dynamic Workload Console tables that were created with Dynamic Workload Console V8.6.0.0.

To solve this problem, provide the specified user with CONTROL privilege on all Dynamic Workload Console tables.

For example,

db2 "GRANT CONTROL ON TABLE TDWC.TDWC_CONFIGURATIONPROPERTY TO USER myuser"
	db2 "GRANT CONTROL ON TABLE TDWC.TDWC_CREDENTIAL TO USER myuser"
	db2 "GRANT CONTROL ON TABLE TDWC.TDWC_ENGINECONNECTION TO USER myuser"
	db2 "GRANT CONTROL ON TABLE TDWC.TDWC_MEQUERYTASK TO USER myuser"
	db2 "GRANT CONTROL ON TABLE TDWC.TDWC_PREFERENCEABLE TO USER myuser"
	db2 "GRANT CONTROL ON TABLE TDWC.TDWC_QUERYTASK TO USER myuser"
	db2 "GRANT CONTROL ON TABLE TDWC.TDWC_REPORTTASK TO USER myuser"