Server Error in '/' Application.

The 'guestbook' start tag on line 1 does not match the end tag of 'entry'. Line 2, position 439.

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: The 'guestbook' start tag on line 1 does not match the end tag of 'entry'. Line 2, position 439.

Source Error:


Line 10:         XmlTextReader myXmlReader = new XmlTextReader(Server.MapPath("guestbook.xml"));
Line 11:         DataSet myDataSet = new DataSet();
Line 12:         myDataSet.ReadXml(myXmlReader);
Line 13:         myXmlReader.Close();
Line 14:         Guestbook.DataSource = myDataSet.Tables[0];

Source File: e:\kunden\homepages\41\d83237135\guestbook1.aspx    Line: 12

Stack Trace:


[XmlException: The 'guestbook' start tag on line 1 does not match the end tag of 'entry'. Line 2, position 439.]
   System.Xml.XmlTextReaderImpl.Throw(Exception e) +90
   System.Xml.XmlTextReaderImpl.Throw(String res, String[] args) +77
   System.Xml.XmlTextReaderImpl.ThrowTagMismatch(NodeData startTag) +211
   System.Xml.XmlTextReaderImpl.ParseEndElement() +1947048
   System.Xml.XmlTextReaderImpl.ParseElementContent() +424
   System.Xml.XmlTextReaderImpl.Read() +29
   System.Xml.XmlTextReader.Read() +12
   System.Data.DataSet.MoveToElement(XmlReader reader, Int32 depth) +14
   System.Data.DataSet.ReadXml(XmlReader reader, Boolean denyResolving) +590
   System.Data.DataSet.ReadXml(XmlReader reader) +6
   ASP.guestbook1_aspx.BindData() in e:\kunden\homepages\41\d83237135\guestbook1.aspx:12
   ASP.guestbook1_aspx.Page_Load(Object sender, EventArgs e) in e:\kunden\homepages\41\d83237135\guestbook1.aspx:6
   System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +15
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +33
   System.Web.UI.Control.OnLoad(EventArgs e) +99
   System.Web.UI.Control.LoadRecursive() +47
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1436


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