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

Forum statistics

Threads
473,995
Messages
2,570,236
Members
46,822
Latest member
israfaceZa

Latest Threads

Top