Server Error in '/' Application.

An error occurred while parsing EntityName. Line 1, position 421.

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: An error occurred while parsing EntityName. Line 1, position 421.

Source Error:

The source code that generated this unhandled exception can only be shown when compiled in debug mode. To enable this, please follow one of the below steps, then request the URL:

1. Add a "Debug=true" directive at the top of the file that generated the error. Example:

  <%@ Page Language="C#" Debug="true" %>

or:

2) Add the following section to the configuration file of your application:

<configuration>
   <system.web>
       <compilation debug="true"/>
   </system.web>
</configuration>

Note that this second technique will cause all files within a given application to be compiled in debug mode. The first technique will cause only that particular file to be compiled in debug mode.

Important: Running applications in debug mode does incur a memory/performance overhead. You should make sure that an application has debugging disabled before deploying into production scenario.

Stack Trace:


[XmlException: An error occurred while parsing EntityName. Line 1, position 421.]
   System.Xml.XmlTextReaderImpl.Throw(Exception e) +89
   System.Xml.XmlTextReaderImpl.ParseEntityName() +231
   System.Xml.XmlTextReaderImpl.ParseEntityReference() +66
   System.Xml.XmlTextReaderImpl.Read() +940
   System.Xml.XmlReader.ReadString() +150
   System.Xml.XmlReader.ReadElementString() +95
   Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderAttributes.Read2_AttributeSelection(Boolean isNullable, Boolean checkType) +479
   Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderAttributes.Read4_Attribute(Boolean isNullable, Boolean checkType) +1070
   Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderAttributes.Read5_ArrayOfAttribute() +461

[InvalidOperationException: There is an error in XML document (1, 421).]
   System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle, XmlDeserializationEvents events) +835
   System.Xml.Serialization.XmlSerializer.Deserialize(TextReader textReader) +163
   Utility.XmlToObject(Type type, String xml) +181
   Commerce.Common.Product.get_Attributes() +48
   Modules_Products_AttributeSelection.LoadControls() +146
   System.Web.UI.Control.OnLoad(EventArgs e) +108
   System.Web.UI.Control.LoadRecursive() +90
   System.Web.UI.Control.LoadRecursive() +185
   System.Web.UI.Control.LoadRecursive() +185
   System.Web.UI.Control.LoadRecursive() +185
   System.Web.UI.Control.LoadRecursive() +185
   System.Web.UI.Control.LoadRecursive() +185
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1533


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