Forum Moderators: open

Message Too Old, No Replies

membership.delete is not working

         

andrewsmd

7:30 pm on Oct 21, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I cannot figure out why these users are not being removed from my aspnet_users table. I am calling the memebership.deleteuser("user", true) method. I have read around on some posts and I can't seem to find my problem. My application name is set the same for both my web.config and in the db. The problem is, it removes the user enough that they can't login and if I do a membership.getallusers then it returns what I would think it should. However, those entries are still in the table and I display users in another page based on selecting them from the users table so I need them removed completely. Does anyone know what I am doing wrong? Thanks

andrewsmd

8:05 pm on Oct 21, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



So I found my error. I had two applications in my application table. One was the name / and one was the name I had set in my web.config. Where would the / name have came from? Could that have been me running the asp.net configuration manager before I had defined an application name? Thanks,