"If at first you don't succeed, try, try again." A mantra that was drilled into my head over and over again by my parents as a child. So tell you daughter "Don't give up".

Some of the most "successful" people in history failed or were rejected over and over again, before reaching "success". What made them successful was their refusal to give up trying.
It's little solace to your daughter right now, but in a few days, encourage her to keep on trying.