Fact1: married couple move into Mysore to buy ancient palace against wishes of uncles and elders of family, Fact2: room on first floor not be visited by anyone in family, Fact3: Ramesh During stay in come to know that palace belonged to Raja Vijaya Rajendra Bahaddur house, Fact4: fellow dancer named Ramanatha used to reside in house just behind palace, Fact5: whole family is out of town to visit Mahadev to decide wedding with Vani
Output: Ramesh Ramesh Arvind and Ganga Soundarya are married couple who recently move into Mysore to buy an ancient palace, against the wishes of his uncles and elders Dwarakish  Pramila Joshai of the family. His uncle agrees to reside with them with his two daughters Vani and Hema, on one condition that the room on the first floor which is locked and sealed should not be visited by anyone in the family. They have their caretaker Rangajja Shivaram who lives in the outhouse with his granddaughter Sowmya Prema. During their stay in the house they come to know that this palace earlier belonged to Raja Vijaya Rajendra Bahaddur. He had a court dancer named Nagavalli from Andhra Pradesh, whom he was in love with. But Nagavalli had an illicit affair with a fellow dancer named Ramanatha, who used to reside in a house just behind the palace. When the Raja came to know of their affair on an Durgashtami day, he beheaded Dancer Ramanatha and burned Nagavalli alive. Nagavalli vowed at the time of her death that she would seek revenge of her death from the Raja by burning him alive on very same Durgashtami day, as like her. Strange things start to happen in the palace and everyone suspect Sowmya, who is always found at the place of the incident. So, Ramesh calls in his psychiatrist friend Vijay Vishnuvardhan to help him clear of the misconceptions regarding the palace and its history. Rameshs uncle Satyajit is not happy with the way Vijay functions and is always very suspectfull of him. Vani, Rameshs cousin is in love with an orphandance teacher who incidentally resides in the same house behind the palace. Vijay comes to know of this and tells Rameshs uncle about this and the alliance is approved by all in the family and their marriage is fixed. When the whole family is out of town to visit Mahadev, to decide his wedding with Vani, Ganga with help from Sowmya opens the room in the first floor with the key given by Sowmya. While she entered the room, Sowmya comes running to tell not to open the door as the keymaker who made the key had died. But Ganga told her not to believe on this superstitions. During this time there are attempts to kill Ramesh by someone unknown, which every time is foiled by Vijay. Even Vani is attacked once by someone unknown. So Rameshs uncle calls upon an Acharya Ramachandra Shastri Avinash to perform some Shanti pooja upon the palace. Though Ramesh is not interested in all these proceedings he agrees on advice of Vijay. On the eve of Engagement ceremony of Mahadev and Vani, Ganga accuses Mahadev of trying to molest her  which is refused by both Mahdev and Vijay. Upon hearing this Ramesh gets angry upon Vijay and shouts at him to get out of his house. Acharya stops the family from doing so and asks Vijay to tell them the mystery behind the strange incidents. Vijay reveals to everyone that Ganga is behind all the strange incidents and she only tried to kill Ramesh and Vani. Ganga who visited the first floor room was enamoured by Nagavalli and her diary. Since Ganga suffered from Multiple personality disorder or Split personality disorder since her childhood, the mystery behind Nagavallis story compelled her to assume herself as Nagavalli, compelling the spirit of Nagavalli to enter her body. SheNagavalli inside Ganga now intends to kill Vijay as he had posed in front of her as Raja Vijaya Rajendra Bahaddur, on the coming Durgashtami day as vowed by Nagavalli while dying. Vijay explains to everyone that since Nagavalli inside Ganga thinks that Mahadev is the dancer ramnath. Finally Vijay with the help of Ramesh tries to solve the mystery with his techniques and succeeds to get Ganga back to her normal life.