Over 1000 of these errors in 2 days.

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
chuckdvc
Lieutenant Commander (LCDR)
Lieutenant Commander (LCDR)
Posts: 97
Joined: Fri Mar 20, 2009 12:32 pm

Over 1000 of these errors in 2 days.

Post by chuckdvc » Sat Jul 14, 2012 10:22 am

The DELETE statement conflicted with the REFERENCE constraint "******************
". The conflict occurred in database "*****************", table "***********************", column 'UserId'. The statement has been terminated.


Any idea whats causing this?
Last edited by chuckdvc on Thu Dec 26, 2013 8:53 am, edited 1 time in total.

User avatar
dgoranov
Lieutenant (LT)
Lieutenant (LT)
Posts: 55
Joined: Sun Jan 16, 2011 3:58 pm
Location: Boston, MA
Contact:

Re: Over 1000 of these errors in 2 days.

Post by dgoranov » Wed Jul 18, 2012 10:28 am

This looks like an error generated by AbleCommerce automated cleanup procedure that removes all 'Anonymous' users. If an user has places an order and is still
being recognized as "Guest - Anonymous" user the cleanup script will not be able to delete the user because there are related order records in the database.

If you are still getting the same error check the \App_Data\Logs\app.log and see if you can find the UserId for this user. Then you have to manually fix the record.
Dimi Goranov
Drundo Software Inc.
AbleCommerce Hosting and Management
Email: dgoranov@drundo.com
Ph: 888.464.2140

User avatar
WylieE
Captain (CAPT)
Captain (CAPT)
Posts: 281
Joined: Tue Mar 25, 2008 8:26 am
Location: Puyallup, WA
Contact:

Re: Over 1000 of these errors in 2 days.

Post by WylieE » Mon Dec 03, 2012 11:42 am

We've started getting these errors out of the blue. Never had them before.

AbleCommerce for ASP.NET
VERSION: 7.0.7.14588
MSSQL v2005
AC SCHEMA v2005
.NET CLR v2.0.50727.5466

What did you do to fix the records or did the error go away on its own?
Eric Wylie
Warmoth Guitar Products, Inc.
http://www.warmoth.com

Post Reply