How do I fix this error?
Server Error in '/dash' Application.
Circular reference in self-nested table 'Menu'.
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.Data.DataException: Circular reference in self-nested table 'Menu'.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. |
Stack Trace:
[DataException: Circular reference in self-nested table 'Menu'.]
System.Data.DataRow.CheckForLoops(DataRelation rel) +134
System.Data.DataRow.GetNestedParentCount() +63
System.Data.XmlDataTreeWriter.Save(XmlWriter xw, Boolean writeSchema) +858
System.Data.DataSet.GetXml() +153
MettleSystems.dashCommerce.Content.Caching.PageMenuCache.<GetPageMenu>b__0() in C:\mettlesystems\code\open source\dashCommerce\Content\Caching\PageMenuCache.cs:96
MettleSystems.dashCommerce.Core.Caching.Manager.CacheHelper.CacheObject(AddToCacheAction`1 addToCache, String cacheKey, Int32 cacheDurationInSeconds, CacheItemPriority priority) in C:\mettlesystems\code\open source\dashCommerce\Core\Caching\Manager\CacheHelper.cs:138
MettleSystems.dashCommerce.Content.Caching.PageMenuCache.GetPageMenu() in C:\mettlesystems\code\open source\dashCommerce\Content\Caching\PageMenuCache.cs:95
MettleSystems.dashCommerce.Web.site.LoadNavigation() in C:\mettlesystems\code\open source\dashCommerce\Web\site.master.cs:127
MettleSystems.dashCommerce.Web.site.Page_Load(Object sender, EventArgs e) in C:\mettlesystems\code\open source\dashCommerce\Web\site.master.cs:109
System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +13
System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +43
System.Web.UI.Control.OnLoad(EventArgs e) +98
System.Web.UI.Control.LoadRecursive() +71
System.Web.UI.Control.LoadRecursive() +154
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +4299
|
Version Information: Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433
b__0() in C:\mettlesystems\code\open source\dashCommerce\Content\Caching\PageMenuCache.cs:line 96
at MettleSystems.dashCommerce.Core.Caching.Manager.CacheHelper.CacheObject[T](AddToCacheAction`1 addToCache, String cacheKey, Int32 cacheDurationInSeconds, CacheItemPriority priority) in C:\mettlesystems\code\open source\dashCommerce\Core\Caching\Manager\CacheHelper.cs:line 138
at MettleSystems.dashCommerce.Content.Caching.PageMenuCache.GetPageMenu() in C:\mettlesystems\code\open source\dashCommerce\Content\Caching\PageMenuCache.cs:line 95
at MettleSystems.dashCommerce.Web.site.LoadNavigation() in C:\mettlesystems\code\open source\dashCommerce\Web\site.master.cs:line 127
at MettleSystems.dashCommerce.Web.site.Page_Load(Object sender, EventArgs e) in C:\mettlesystems\code\open source\dashCommerce\Web\site.master.cs:line 109
at System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e)
at System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e)
at System.Web.UI.Control.OnLoad(EventArgs e)
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
[HttpUnhandledException]: Exception of type 'System.Web.HttpUnhandledException' was thrown.
at System.Web.UI.Page.HandleError(Exception e)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at System.Web.UI.Page.ProcessRequest()
at System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context)
at System.Web.UI.Page.ProcessRequest(HttpContext context)
at ASP.login_aspx.ProcessRequest(HttpContext context) in c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dash\e0ae4d41\dca3b62f\App_Web_hy_nlra2.0.cs:line 0
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
-->