an ASP.NET Open Source CMS & eCommerce platform
Search:
Skip Navigation LinksHome > DotShoppingCart Forums > Support > Using DotShoppingCart > Aftter any change in Page Editor , This error o...
Last Post 5/27/2009 4:16:55 PM By Bahram. 0 replies.
5/27/2009 4:16:55 PM
Bahram
Posts: 878
Joined: 12/8/2008
Location:Vancouver, BC Canada
Aftter any change in Page Editor , This error occures and have to refresh Application Pool and restart Websire
<span> 

Server Error in '/' Application. <hr width="100%" size="1" color="silver" />

An attempt has been made to Attach or Add an entity that is not new, perhaps having been loaded from another DataContext.  This is not supported.

</span>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.NotSupportedException: An attempt has been made to Attach or Add an entity that is not new, perhaps having been loaded from another DataContext.  This is not supported.

Source Error:

<table width="100%" bgcolor="#ffffcc"> <tbody> <tr> <td>
Line 103:        }
Line 104:        if (null == block)
Line 105:            block = Block.GetByName(requestPath + ".aspx", config.DefaultBlock);
Line 106:
Line 107:        PageBlockContainerData containerData = Utils.FromXml<PageBlockContainerData>(block.Data.ToString());
</td> </tr> </tbody> </table>