unique owner/project index + sql error reporting