raise an error if the cas config file could not be found