We help IT Professionals succeed at work.

Deleting records from an aspnet_Users table

Medium Priority
589 Views
Last Modified: 2012-05-07
I'm trying to delete some records from my test database and I get this message:

ERROR: The DELETE statement conflicted with the REFERENCE constraint "FK__aspnet_Me__UserI__164452B1". The conflict occurred in database "DJRTest1", table "dbo.aspnet_Membership", column 'UserId'. The statement has been terminated.

So how do I delete a record from the aspnet_Users and aspnet_Membetrship tables?
Comment
Watch Question

Database Consultant
CERTIFIED EXPERT
Top Expert 2009
Commented:
Unlock this solution and get a sample of our free trial.
(No credit card required)
UNLOCK SOLUTION
John CarneyReliability Business Tools Analyst II

Author

Commented:
Man, I love it when it's this simple. Thanks!

John
John CarneyReliability Business Tools Analyst II

Author

Commented:
Thanks again!
Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a sample view!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.