problem with deleting user using Memebership.deleteUser('username',true) because
of the exception:
The DELETE statement conflicted with the REFERENCE
constraint "FK__aspnet_Me__UserI__15502E78". The conflict occurred in
database "jobpro", table "dbo.aspnet_Membership", column
statement has been terminated.
But it only
happens when method is called from IIS. When I run it on development server everything works
noticed that when deleteUser function is called from IIS in stored procedure aspnet_Users_DeleteUser line:
EXISTS (SELECT name FROM sysobjects
WHERE name = N'vw_aspnet_MembershipUsers')
Thanks in advace for any help.
View Complete Post