I have installed the shopping cart on an XP home pc and the installation went very smooth. When I start to use the admin and adding categories I get the following error. It is funny because if I try and add a category like "aaaa" it works fine but when I add a category like "Files & Filing Supplies", I cannot get it to work. Any help would be appreciated.
ParentKey and ChildKey are identical.
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.InvalidConstraintException: ParentKey and ChildKey are identical.
Source Error:
<table width="100%" bgcolor="#ffffcc">
<tbody>
<tr>
<td>
Line 37: categories = Category.GetCategories(0, 2);
Line 38: } else {
Line 39: Category current = Category.GetCategoryByCategoryPath(categoryPath);
Line 40: categories = new Category[] { current };
Line 41: // add root category to ease navigation
</td>
</tr>
</tbody>
</table>
Source File: e:\DotShoppingCart\DotShoppingCart_V1.1_Binary\web\Controls\LayoutPanels\CategoryList.ascx.cs Line: 39
|