You probably missed an object qualifier, as this didn't cause problems in an installation without an object qualifier.
Other possibility: a conflict with catalook, I also have a catalook store in this DNN installation
Greetings,
Peter
AssemblyVersion: 03.01.01
Method: System.Data.SqlClient.SqlCommand.ExecuteReader
FileName:
FileLineNumber: 0
FileColumnNumber: 0
PortalID: 0
PortalName: store testsite
UserID: -1
UserName:
ActiveTabID: 206
ActiveTabName: dnn store
AbsoluteURL: /teststore/Default.aspx
AbsoluteURLReferrer: http://192.168.2.100/teststore/dnnstore/tabid/206/CategoryID/1/Default.aspx
ExceptionGUID: 1d35b849-6ee6-4bce-971f-235f52b20d9a
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
InnerException: INSERT statement conflicted with COLUMN FOREIGN KEY constraint 'FK_pjs_Store_CartItems_pjs_Store_Cart'. The conflict occurred in database 'teststore', table 'pjs_Store_Cart', column 'CartID'. The statement has been terminated.
Message: DotNetNuke.Services.Exceptions.PageLoadException: INSERT statement conflicted with COLUMN FOREIGN KEY constraint 'FK_pjs_Store_CartItems_pjs_Store_Cart'. The conflict occurred in database 'teststore', table 'pjs_Store_Cart', column 'CartID'. The statement has been terminated. ---> System.Data.SqlClient.SqlException: INSERT statement conflicted with COLUMN FOREIGN KEY constraint 'FK_pjs_Store_CartItems_pjs_Store_Cart'. The conflict occurred in database 'teststore', table 'pjs_Store_Cart', column 'CartID'. The statement has been terminated. at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream) at System.Data.SqlClient.SqlCommand.ExecuteScalar() at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteScalar(SqlConnection connection, CommandType commandType, String commandText, SqlParameter[] commandParameters) at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteScalar(String connectionString, CommandType commandType, String commandText, SqlParameter[] commandParameters) at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteScalar(String connectionString, String spName, Object[] parameterValues) at DotNetNuke.Modules.Store.Cart.SqlDataProvider.AddItem(String CartID, Int32 ProductID, Int32 Quantity) at DotNetNuke.Modules.Store.Cart.CartController.AddItem(ItemInfo itemInfo) at DotNetNuke.Modules.Store.Cart.CurrentCart.AddItem(Int32 portalID, Int32 productID, Int32 quantity) at DotNetNuke.Modules.Store.WebControls.ProductList.btnAddToCart_Click(Object sender, EventArgs e) at System.Web.UI.WebControls.LinkButton.OnClick(EventArgs e) at System.Web.UI.WebControls.LinkButton.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) at System.Web.UI.Page.ProcessRequestMain() --- End of inner exception stack trace ---
StackTrace:
Source:
Server Name: SERVER1