DB, ErrorCode, addApplication