Server Error in '/' Application.

Unexpected end of file has occurred. The following elements are not closed: email, comment, comments, post. Line 100, position 14.

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: Unexpected end of file has occurred. The following elements are not closed: email, comment, comments, post. Line 100, position 14.

Source Error:


Line 67:         {
Line 68:             Guid categoryId = new Guid(Request.QueryString["id"]);
Line 69:             PostList1.Posts = Post.GetPostsByCategory(categoryId);
Line 70:             Page.Title = BlogSettings.Instance.Name + " - " + Category.GetCategory(categoryId);
Line 71:         }

Source File: d:\inetpub\webs\salvatorepinoit\default.aspx.cs    Line: 69

Stack Trace:


[XmlException: Unexpected end of file has occurred. The following elements are not closed: email, comment, comments, post. Line 100, position 14.]
   System.Xml.XmlTextReaderImpl.Throw(Exception e) +76
   System.Xml.XmlTextReaderImpl.Throw(String res, String arg) +127
   System.Xml.XmlTextReaderImpl.Throw(Int32 pos, String res, String arg) +19
   System.Xml.XmlTextReaderImpl.ThrowUnclosedElements() +262
   System.Xml.XmlTextReaderImpl.ParseElementContent() +840
   System.Xml.XmlTextReaderImpl.Read() +52
   System.Xml.XmlLoader.LoadNode(Boolean skipOverWhitespace) +786
   System.Xml.XmlLoader.LoadDocSequence(XmlDocument parentDoc) +53
   System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace) +171
   System.Xml.XmlDocument.Load(XmlReader reader) +109
   System.Xml.XmlDocument.Load(String filename) +93
   BlogEngine.Core.Providers.XmlBlogProvider.SelectPost(Guid id) +449
   BlogEngine.Core.Providers.BlogService.SelectPost(Guid id) +68
   BlogEngine.Core.Post.DataSelect(Guid id) +60
   BlogEngine.Core.BusinessBase`2.Load(KEY id) +151
   BlogEngine.Core.Providers.XmlBlogProvider.FillPosts() +362
   BlogEngine.Core.Providers.BlogService.FillPosts() +42
   BlogEngine.Core.Post.get_Posts() +127
   BlogEngine.Core.Post.GetPostsByCategory(Guid categoryId) +96
   _default.DisplayCategories() in d:\inetpub\webs\salvatorepinoit\default.aspx.cs:69
   _default.Page_Load(Object sender, EventArgs e) in d:\inetpub\webs\salvatorepinoit\default.aspx.cs:23
   System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +43
   System.Web.UI.Control.OnLoad(EventArgs e) +91
   BlogEngine.Core.Web.Controls.BlogBasePage.OnLoad(EventArgs e) +45
   System.Web.UI.Control.LoadRecursive() +74
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2599


Version Information: Microsoft .NET Framework Version:2.0.50727.8974; ASP.NET Version:2.0.50727.8974