Can someone guide me on to repairing the error on this query :
var objApps = from item in xDoc.Descendants(\"VHost\") where
Simply do the following, no need for the where clause. Descendants will search children at ALL levels, not just immediately below:
where
var objApps = from item in xDoc.Descendants("Application") select new clsApplication { ConnectionsTotal = item.Element("ConnectionsTotal").Value };