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 19:                 if (Context.Items["qparam.PageSub1"].ToString().ToLower() == "posts")
Line 20:                 {
Line 21:                     Blog blog = BlogUtilities.LoadSingleBlog(PageUtilities.DecodeUrl(Context.Items["qparam.PageSub2"].ToString()));
Line 22: 
Line 23:                     if (blog != null)

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

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.LoadSingleBlog(String BlogTitle) +199
   App_Controls_BlogControl.Page_Load(Object sender, EventArgs e) in c:\inetpub\vhosts\frumples.com\httpdocs\App_Controls\BlogControl.ascx.cs:21
   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