Search code examples
asp.netasp.net-membershipasp.net-2.0sqlmembershipprovider

SqlMembershipProvider question


When you create the Register Control for the SqlMembersipProvider nothing happens if they register and the username or email is in use. Is there a tutorial or override function that fixes this in asp.net 2.0


Solution

  • You may need to register an event handler for the LoginError event.

    See this article for lots of details: https://web.archive.org/web/20210513220018/http://aspnet.4guysfromrolla.com/articles/120705-1.aspx