Can someone guide me on to repairing the error on this query :
var objApps = from item in xDoc.Descendants(\"VHost\")
where
The error is complaining about your inner from clause (inside the where) it looks like you're trying to do a select many (unintentional clippy reference).
var objApps = from item in xDoc.Descendants("VHost")
from x in item.Descendants("Application")
select new clsApplication
{
ConnectionsTotal = x.Element("ConnectionsTotal").Value
};