.net - Why does the Membership.CreateUser function does nothing? -
This is the subscription API in .NET 2.0. Suddenly he stopped working on me. I snatched it to do the basics when someone tries to make a user then I do not get any response. There is no error through this code, but nothing happens to ASPX The code here is here:
The Protected Sub Button 1_Click (as the object, byVal e as the system and as the system. Click as the slow MCF system. Web. Security MembersCentryStethus Subscription CreateUser ("Kingfish", "password1", "a@a.com", "What is this?", "Widgets", True, MCF) and all
and here's the web . Code in config:
& lt; Add name = "LocalSqlServer" connectionString = "data source = localhost; initial catalog = MyDB; integrated security = true" provider name = "System.Data. SqlClient" /> & Lt; Subscription default provider = "Optimize provider" & gt; & Lt; Providers & gt; & Lt; Add name = "CustomizedProvider" type = "System.Web.Security.SqlMembershipProvider" connection StringName = "LocalSqlServer" applicationName = "MyApp" minRequiredPasswordLength = "5" minRequiredNonalphanumericCharacters = "0" /> & Lt; / Providers & gt; & Lt; / Subscription & gt;
I had to check the membership cretatus. It seems that I was sending in duplicate emails and it is not allowed.
Comments
Post a Comment