Constraint Failing when using Membership.DeleteUser

  • Thread starter Shawn Wildermuth (C# MVP)
  • Start date
S

Shawn Wildermuth (C# MVP)

When I delete a user (either through the API or through the site manager)
I get:

DELETE statement conflicted with COLUMN REFERENCE constraint 'FK__aspnet_Me__UserI__0F2D40CE'.
The conflict occurred in database 'DB_68465', table 'aspnet_Membership',
column 'UserId'.


Anyone have any idea?

The 'FK__aspnet_Me__UserI__0F2D40CE' is a foreign key constraint between
the aspnet_Users table and the aspnet_Membership tables.

This might have been a Beta aspnet security database, but it was upgraded.



Thanks,
Shawn Wildermuth
Speaker, Author and C# MVP
http://adoguy.com
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,777
Messages
2,569,604
Members
45,218
Latest member
JolieDenha

Latest Threads

Top