StreamReader xmlString = new StreamReader(Server.MapPath("ResponseMessages/LoggedIn")); XmlDocument doc = new XmlDocument(); doc.Load(xmlString);