return DB configuration on DBOpen or Exception on error