could not select eres database