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 20:       {
Line 21:         Guid id = new Guid(Request.QueryString["id"]);
Line 22:         Post post = Post.GetPost(id);
Line 23:         if (post != null)
Line 24:         {

Source File: d:\inetpub\webs\salvatorepinoit\post.aspx.cs    Line: 22

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.GetPost(Guid id) +63
   post.Page_Init(Object sender, EventArgs e) in d:\inetpub\webs\salvatorepinoit\post.aspx.cs:22
   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.OnInit(EventArgs e) +92
   System.Web.UI.Page.OnInit(EventArgs e) +12
   System.Web.UI.Control.InitRecursive(Control namingContainer) +385
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1183


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