Actually, there are a number of films with the same title. So, to be specific:
The Uninvited (2009) starring Emily Browning, David Strathairn, Arielle Kebbel, Don S. Davis // From IMDb: After the death of her invalid mother in a fire, teenager Anna tries to commit suicide and is sent to a mental institution for treatment. Ten months later, Anna still cannot remember what happened on the night her mother died. Her psychiatrist, Dr. Silberling, discharges her, saying that she has resolved her issues. Her father, a successful writer, brings her back home to an isolated mansion near the coast. Anna finds that her mother's former nurse, Rachel Summers, now is her stepmother. Anna reunites with her beloved sister, Alex, and learns that their father did not delivere the letters and CDs Alex sent her. As time moves on, Anna is haunted by ghosts and believes Rachel killed her mother. Alex and Anna decide to look for evidence to prove that Rachel is the murderer, leading to Anna discovering the truth about the fire in the boathouse.