Server Error in '/' Application.

'=' is an unexpected token. The expected token is ';'. Line 28, position 107.

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: '=' is an unexpected token. The expected token is ';'. Line 28, position 107.

Source Error:


Line 420:    public EventDetails(String XmlEventsSource) {
Line 421:        XmlDocument sourceXml = new XmlDocument();
Line 422:        sourceXml.Load(XmlEventsSource);
Line 423:
Line 424:        GetEventDetails(sourceXml);

Source File: g:\DevSites\CittaDiPrato\CittaDiPrato.it\App_Code\Eventi\LocalEvents.cs    Line: 422

Stack Trace:


[XmlException: '=' is an unexpected token. The expected token is ';'. Line 28, position 107.]
   System.Xml.XmlTextReaderImpl.Throw(Exception e) +88
   System.Xml.XmlTextReaderImpl.HandleEntityReference(Boolean isInAttributeValue, EntityExpandType expandType, Int32& charRefEndPos) +248
   System.Xml.XmlTextReaderImpl.ParseAttributeValueSlow(Int32 curPos, Char quoteChar, NodeData attr) +607
   System.Xml.XmlTextReaderImpl.ParseAttributes() +1001
   System.Xml.XmlTextReaderImpl.ParseElement() +407
   System.Xml.XmlTextReaderImpl.ParseElementContent() +120
   System.Xml.XmlLoader.LoadNode(Boolean skipOverWhitespace) +92
   System.Xml.XmlLoader.LoadDocSequence(XmlDocument parentDoc) +25
   System.Xml.XmlDocument.Load(XmlReader reader) +134
   System.Xml.XmlDocument.Load(String filename) +146
   EventDetails..ctor(String XmlEventsSource) in g:\DevSites\CittaDiPrato\CittaDiPrato.it\App_Code\Eventi\LocalEvents.cs:422
   SiteAssets_DettagliEvento.Page_Load(Object sender, EventArgs e) in g:\DevSites\CittaDiPrato\CittaDiPrato.it\SiteAssets\DettagliEvento.ascx.cs:57
   System.Web.UI.Control.OnLoad(EventArgs e) +106
   System.Web.UI.Control.LoadRecursive() +68
   System.Web.UI.Control.LoadRecursive() +162
   System.Web.UI.Control.LoadRecursive() +162
   System.Web.UI.Control.LoadRecursive() +162
   System.Web.UI.Control.LoadRecursive() +162
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3785


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