Can someone guide me on to repairing the error on this query :
var objApps = from item in xDoc.Descendants(\"VHost\") where
This may help:
var objApps = from item in xDoc.Descendants("VHost") from x in item.Descendants("Application") select new clsApplication { ConnectionsTotal = item.Element("Application").Element("ConnectionsTotal").Value };