Hi Lukezy
When i go to the askquestion .aspx and click on the block container advanced option i get the following error. Is there anything I can do to fix this?
<PageBlockContainerData xmlns=''> was not expected.
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.InvalidOperationException: <PageBlockContainerData xmlns=''> was not expected.
Source Error:
Line 113:
Line 114: private void SwitchToBlockEditor() {
Line 115: blockContainerData = (BlockContainerData)Utils.FromXml(CurrentContainerType, Data.ToString());
Line 116: switch (editModeParameter) {
Line 117: case "edit":
Source File: d:\domains\development.ie\wwwroot\Controls\Blocks\BlockContainer.ascx.cs Line: 115
Stack Trace:
[InvalidOperationException: <PageBlockContainerData xmlns=''> was not expected.]
Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderBlockContainerData.Read3_BlockContainerData() +118
[InvalidOperationException: There is an error in XML document (1, 2).]
System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle, XmlDeserializationEvents events) +613
System.Xml.Serialization.XmlSerializer.Deserialize(TextReader textReader) +102
DotShoppingCart.Commercial.Core.Utils.FromXml(Type type, String xml) +60
Controls_Blocks_BlockContainer.SwitchToBlockEditor() in d:\domains\development.ie\wwwroot\Controls\Blocks\BlockContainer.ascx.cs:115
Controls_Blocks_BlockContainer.Page_Load(Object sender, EventArgs e) in d:\domains\development.ie\wwwroot\Controls\Blocks\BlockContainer.ascx.cs:102
System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14
System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +35
System.Web.UI.Control.OnLoad(EventArgs e) +99
System.Web.UI.Control.LoadRecursive() +50
System.Web.UI.Control.LoadRecursive() +141
System.Web.UI.Control.LoadRecursive() +141
System.Web.UI.Control.LoadRecursive() +141
System.Web.UI.Control.LoadRecursive() +141
System.Web.UI.Control.LoadRecursive() +141
Sys
|