Fixed error message when the sql file is not available.