Server Error in '/' Application.

Root element is missing.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Xml.XmlException: Root element is missing.

Source Error:


Line 65:     {
Line 66:         //replace the take 30 with a setting later
Line 67:         var Blogs = BlogUtilities.LoadActiveBlogs().Take(30).OrderBy(e => e.BlogOrder);
Line 68: 
Line 69:         pnlBlogDetail.Visible = false;

Source File: c:\inetpub\vhosts\frumples.com\httpdocs\App_Controls\BlogControl.ascx.cs    Line: 67

Stack Trace:


[XmlException: Root element is missing.]
   System.Xml.XmlTextReaderImpl.Throw(Exception e) +73
   System.Xml.XmlTextReaderImpl.ParseDocumentContent() +5373234
   System.Xml.XmlTextReaderImpl.Read() +151
   System.Xml.Linq.XDocument.Load(XmlReader reader, LoadOptions options) +44
   System.Xml.Linq.XDocument.Load(String uri, LoadOptions options) +61
   System.Xml.Linq.XDocument.Load(String uri) +12
   Joopk.BlogUtilities.LoadAllBlogs() +144
   Joopk.BlogUtilities.LoadActiveBlogs() +49
   App_Controls_BlogControl.LoadInformation() in c:\inetpub\vhosts\frumples.com\httpdocs\App_Controls\BlogControl.ascx.cs:67
   App_Controls_BlogControl.Page_Load(Object sender, EventArgs e) in c:\inetpub\vhosts\frumples.com\httpdocs\App_Controls\BlogControl.ascx.cs:58
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +52
   System.Web.UI.Control.OnLoad(EventArgs e) +97
   System.Web.UI.Control.LoadRecursive() +61
   System.Web.UI.Control.LoadRecursive() +134
   System.Web.UI.Control.LoadRecursive() +134
   System.Web.UI.Control.LoadRecursive() +134
   System.Web.UI.Control.LoadRecursive() +134
   System.Web.UI.Control.LoadRecursive() +134
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +693


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.8.4700.0