<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>[How Do I:] Create a Custom Membership Provider?</title><link>http://www.asp.net</link><pubDate>Wed, 24 Jun 2009 10:23:55 GMT</pubDate><generator>umbraco</generator><description>Comments for [How Do I:] Create a Custom Membership Provider?</description><language>en</language><atom:link href="http://www.asp.net/rss/comments/33464" rel="self" type="application/rss+xml" /><item><title>Comment Posted by Bibhabasu</title><link>http://www.asp.net/web-forms/videos/how-do-i/how-do-i-create-a-custom-membership-provider</link><pubDate>Thu, 27 Mar 2008 06:42:09 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000005140</guid><description><![CDATA[ <p>I want to use the the CreateUserWizard control ,but i want to use my own database.How do i do that ?how do I create the custom membership provider?</p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/Bibhabasu.jpg?forceidenticon=false&amp;dt=635044549200000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by kmj2384</title><link>http://www.asp.net/web-forms/videos/how-do-i/how-do-i-create-a-custom-membership-provider</link><pubDate>Tue, 08 Apr 2008 20:30:36 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000005141</guid><description><![CDATA[ <p>Can someone explain to me how to create the very first project that Chris starts working off of? &#160;In my website, when I choose add new item and add class, I don&#39;t get all the files nested under what I created. &#160;Therefore, I think I need to create that very first file but it&#39;s not explained how to do that. &#160;Any help would be appreciated. &#160;Thank you.</p>]]></description><enclosure length="0" type="image/png" url="http://i3.asp.net/avatar/kmj2384.jpg?forceidenticon=false&amp;dt=635044549200000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by Soha.Jawabreh</title><link>http://www.asp.net/web-forms/videos/how-do-i/how-do-i-create-a-custom-membership-provider</link><pubDate>Tue, 13 May 2008 04:04:26 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000005142</guid><description><![CDATA[ <p>Thank you Chris </p> <p>An excellent video </p> <p>soha</p>]]></description><enclosure length="0" type="image/png" url="http://i1.asp.net/avatar/Soha.Jawabreh.jpg?forceidenticon=false&amp;dt=635044549200000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by muhammed</title><link>http://www.asp.net/web-forms/videos/how-do-i/how-do-i-create-a-custom-membership-provider</link><pubDate>Wed, 23 Jul 2008 05:42:43 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000005143</guid><description><![CDATA[ <p>good video thanks</p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/muhammed.jpg?forceidenticon=false&amp;dt=635044549200000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by cv_vikram</title><link>http://www.asp.net/web-forms/videos/how-do-i/how-do-i-create-a-custom-membership-provider</link><pubDate>Fri, 08 Aug 2008 16:59:02 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000005144</guid><description><![CDATA[ <p>thanks...</p>]]></description><enclosure length="0" type="image/png" url="http://i1.asp.net/avatar/cv_vikram.jpg?forceidenticon=false&amp;dt=635044549200000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by Antikom</title><link>http://www.asp.net/web-forms/videos/how-do-i/how-do-i-create-a-custom-membership-provider</link><pubDate>Fri, 15 Aug 2008 04:34:35 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000005145</guid><description><![CDATA[ <p>Chris thank you for this video!</p> <p>Antikom.</p>]]></description><enclosure length="0" type="image/png" url="http://i1.asp.net/avatar/Antikom.jpg?forceidenticon=false&amp;dt=635044549200000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by Juwar</title><link>http://www.asp.net/web-forms/videos/how-do-i/how-do-i-create-a-custom-membership-provider</link><pubDate>Sat, 30 Aug 2008 18:33:21 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000005146</guid><description><![CDATA[ <p>How can I create my own createuserwizard. &#160;I don&#39;t want the security question/answer as part of the membership, nor do I want the email, I want just username, password and pass these values to the provider.</p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/Juwar.jpg?forceidenticon=false&amp;dt=635044549200000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by subhasisrout</title><link>http://www.asp.net/web-forms/videos/how-do-i/how-do-i-create-a-custom-membership-provider</link><pubDate>Tue, 09 Sep 2008 04:04:24 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000005147</guid><description><![CDATA[ <p>UpdateFailureCount method is not updating anything....Could anyone please explain....</p>]]></description><enclosure length="0" type="image/png" url="http://i1.asp.net/avatar/subhasisrout.jpg?forceidenticon=false&amp;dt=635044549200000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by djibril_chimere_DIAW</title><link>http://www.asp.net/web-forms/videos/how-do-i/how-do-i-create-a-custom-membership-provider</link><pubDate>Tue, 28 Oct 2008 12:56:46 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000005148</guid><description><![CDATA[ <p>Thanks ! J&#235;r&#235;j&#235;f !</p>]]></description><enclosure length="0" type="image/png" url="http://i3.asp.net/avatar/djibril_chimere_DIAW.jpg?forceidenticon=false&amp;dt=635044549200000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by mongoose_za</title><link>http://www.asp.net/web-forms/videos/how-do-i/how-do-i-create-a-custom-membership-provider</link><pubDate>Fri, 21 Nov 2008 04:56:11 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000005149</guid><description><![CDATA[ <p>I personally thought the video was not that good. I downloaded the sample project and followed along with the video and got connectionString exceptions thrown. COuldn&#39;t even get the project to run properly. It would have been much better if Chris took a method and perhaps changed it slighty, to show how to customize something. Because this was really just spectating something which is already there and although i can see it and follow along i&#39;m not to sure how to customize it, which is what this video was supposed to show me. But thats just me...</p>]]></description><enclosure length="0" type="image/png" url="http://i3.asp.net/avatar/mongoose_za.jpg?forceidenticon=false&amp;dt=635044549200000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by rohit.kumar.barik</title><link>http://www.asp.net/web-forms/videos/how-do-i/how-do-i-create-a-custom-membership-provider</link><pubDate>Mon, 08 Dec 2008 01:28:45 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000005150</guid><description><![CDATA[ <p>i canot dowload this video.The zip file is showing corrupted.Can u please help me </p>]]></description><enclosure length="0" type="image/png" url="http://i1.asp.net/avatar/rohit.kumar.barik.jpg?forceidenticon=false&amp;dt=635044549200000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by kenshinofkin</title><link>http://www.asp.net/web-forms/videos/how-do-i/how-do-i-create-a-custom-membership-provider</link><pubDate>Wed, 17 Dec 2008 02:37:20 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000005151</guid><description><![CDATA[ <p>Awesome video! One problem though. Its easy to see what columns you use to create the database but not seeing the stored procedures or putting the code up is a downfall. Is there anyway we can get these stored procedures?</p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/kenshinofkin.jpg?forceidenticon=false&amp;dt=635044549200000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by bohunt</title><link>http://www.asp.net/web-forms/videos/how-do-i/how-do-i-create-a-custom-membership-provider</link><pubDate>Mon, 22 Dec 2008 04:47:29 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000005152</guid><description><![CDATA[ <p>I thought it was a great video, you should try to make a few videos about the actual coding.</p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/bohunt.jpg?forceidenticon=false&amp;dt=635044549200000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by rami_nassar</title><link>http://www.asp.net/web-forms/videos/how-do-i/how-do-i-create-a-custom-membership-provider</link><pubDate>Thu, 25 Dec 2008 11:11:02 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000005153</guid><description><![CDATA[ <p>can you give us as example taturial on how to add additional information to membership provider??</p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/rami_nassar.jpg?forceidenticon=false&amp;dt=635044549200000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by phb7688</title><link>http://www.asp.net/web-forms/videos/how-do-i/how-do-i-create-a-custom-membership-provider</link><pubDate>Sat, 03 Jan 2009 10:30:09 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000005154</guid><description><![CDATA[ <p>Perfect walkthrough of how to use a custom or alternative data store for login to a web site in Visual Studio for someone at my &quot;hobbyist&quot; level.</p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/phb7688.jpg?forceidenticon=false&amp;dt=635044549200000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by Veerakondalu</title><link>http://www.asp.net/web-forms/videos/how-do-i/how-do-i-create-a-custom-membership-provider</link><pubDate>Mon, 09 Feb 2009 22:47:21 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000005155</guid><description><![CDATA[ <p>Very good Video.</p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/Veerakondalu.jpg?forceidenticon=false&amp;dt=635044549200000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by ai101</title><link>http://www.asp.net/web-forms/videos/how-do-i/how-do-i-create-a-custom-membership-provider</link><pubDate>Wed, 25 Mar 2009 17:01:09 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000005156</guid><description><![CDATA[ <p>Excellent video</p>]]></description><enclosure length="0" type="image/png" url="http://i3.asp.net/avatar/ai101.jpg?forceidenticon=false&amp;dt=635044549200000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by lucmi</title><link>http://www.asp.net/web-forms/videos/how-do-i/how-do-i-create-a-custom-membership-provider</link><pubDate>Wed, 08 Apr 2009 13:14:29 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000005157</guid><description><![CDATA[ <p>Inizializzazione</p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/lucmi.jpg?forceidenticon=false&amp;dt=635044549200000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by Disco Patrick</title><link>http://www.asp.net/web-forms/videos/how-do-i/how-do-i-create-a-custom-membership-provider</link><pubDate>Wed, 15 Apr 2009 12:04:06 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000005158</guid><description><![CDATA[ <p>Are we free to use your code examples in our own projects?</p>]]></description><enclosure length="0" type="image/png" url="http://i1.asp.net/avatar/Disco%20Patrick.jpg?forceidenticon=false&amp;dt=635044549200000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by cleverwisdomforever</title><link>http://www.asp.net/web-forms/videos/how-do-i/how-do-i-create-a-custom-membership-provider</link><pubDate>Thu, 16 Apr 2009 01:31:08 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000005159</guid><description><![CDATA[ <p>Thank you so much Chris Pells nice Video!!!</p>]]></description><enclosure length="0" type="image/png" url="http://i3.asp.net/avatar/cleverwisdomforever.jpg?forceidenticon=false&amp;dt=635044549200000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by Burglar_Cat@yahoo.com</title><link>http://www.asp.net/web-forms/videos/how-do-i/how-do-i-create-a-custom-membership-provider</link><pubDate>Wed, 29 Apr 2009 04:05:29 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000005161</guid><description><![CDATA[ <p></p><p></p><p>Hi, Programming Masters.</p><p></p><p>I come here to seek helps. I created a .aspx file with creatuserwizard control in order to insert my own member account. However my boss ask us that add all the items that need to be inserted in a page rather than steps. Some I modify table of CreateUserWizardStep1 with adding some tr,td and corresponding control such as zip textbox or statedropdownlist in. Then, I met my problem for the database. I add some new tables in order to store data, each table I set a column named useID which is a foreigner key PK with table aspnet_Membership. I need to insert rows with corresponding userID. However, the userID only created and then to be inserted into table aspnet_Membership when an account already be created, that means I can not use sql commands to get that UserID. So shall expriented enough to cope with this with .net?</p><p></p><p>I have my grateful thanks here.</p><p></p>]]></description><enclosure length="0" type="image/png" url="http://i1.asp.net/avatar/Burglar_Cat@yahoo.com.jpg?forceidenticon=false&amp;dt=635044549200000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by whitewolve</title><link>http://www.asp.net/web-forms/videos/how-do-i/how-do-i-create-a-custom-membership-provider</link><pubDate>Wed, 29 Apr 2009 23:17:29 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000005162</guid><description><![CDATA[ <p>Hey Chris, great video man... I have used this technique on two of my projects thanks.</p><p></p><p>But I just got into a problem some few days ago and I have not been able to find a way around it.  I am trying to reset a user password, and I get a &quot;There is already an open DataReader associated with this Command which must be closed first&quot;  Can you throw some light here please? I do not have any idea what I am doing wrong.  Plus is there a way I can decrypt the passwords? Please find below, my ResetPassword Code:</p><p></p><p>Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load</p><p>        If Not Membership.EnablePasswordRetrieval Then</p><p>            FormsAuthentication.RedirectToLoginPage()</p><p>        End If</p><p></p><p></p><p>        Msg.Text = &quot;&quot;</p><p></p><p>        If Not IsPostBack Then</p><p>            Msg.Text = &quot;Please supply a username.&quot;</p><p>        Else</p><p>            VerifyUsername()</p><p>        End If</p><p>    End Sub</p><p></p><p>    </p><p></p><p></p><p>    Public Sub VerifyUsername()</p><p>        u = Membership.GetUser(UsernameTextBox.Text, False)</p><p></p><p>        If u Is Nothing Then</p><p>            Msg.Text = &quot;Username &quot; &amp; UsernameTextBox.Text &amp; &quot; not found. Please check the value and re-enter.&quot;</p><p></p><p>            QuestionLabel.Text = &quot;&quot;</p><p>            QuestionLabel.Enabled = False</p><p>            AnswerTextBox.Enabled = False</p><p>            ResetPasswordButton.Enabled = False</p><p>        Else</p><p>            QuestionLabel.Text = u.PasswordQuestion</p><p>            QuestionLabel.Enabled = True</p><p>            AnswerTextBox.Enabled = True</p><p>            ResetPasswordButton.Enabled = True</p><p></p><p>        End If</p><p></p><p>    End Sub</p><p></p><p></p><p>    Protected Sub ResetPasswordButton_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles ResetPasswordButton.Click</p><p></p><p>        Dim newPassword As String</p><p>        u = Membership.GetUser(UsernameTextBox.Text, False)</p><p>       </p><p>        If u Is Nothing Then</p><p>            Msg.Text = &quot;Username &quot; &amp; UsernameTextBox.Text &amp; &quot; not found. Please check the value and re-enter.&quot;</p><p>            Return</p><p>        End If</p><p></p><p>       </p><p></p><p>        Try</p><p>            newPassword = u.ResetPassword(AnswerTextBox.Text)</p><p>        Catch ex As MembershipPasswordException</p><p>            Msg.Text = &quot;Invalid password answer. Please re-enter and try again.&quot;</p><p>            Return</p><p>        Catch ex As Exception</p><p>            Msg.Text = ex.Message</p><p>            Return</p><p>        End Try</p><p></p><p>        If Not newPassword Is Nothing Then</p><p>            Msg.Text = &quot;Password reset. Your new password is: &quot; &amp; newPassword</p><p>        Else</p><p>            Msg.Text = &quot;Password reset failed. Please re-enter your values and try again.&quot;</p><p>        End If</p><p></p><p></p><p>    End Sub</p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/whitewolve.jpg?forceidenticon=false&amp;dt=635044549200000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by Puneri_25</title><link>http://www.asp.net/web-forms/videos/how-do-i/how-do-i-create-a-custom-membership-provider</link><pubDate>Thu, 30 Apr 2009 06:34:29 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000005163</guid><description><![CDATA[ <p>I&#39;ve customized createuserwizard to add some more fileds. So how to add more arguments in createuser method?</p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/Puneri_25.jpg?forceidenticon=false&amp;dt=635044549200000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by noobie</title><link>http://www.asp.net/web-forms/videos/how-do-i/how-do-i-create-a-custom-membership-provider</link><pubDate>Thu, 21 May 2009 01:56:43 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000005164</guid><description><![CDATA[ <p>you have to create an Overload Function of CreateUser Method.</p>]]></description><enclosure length="0" type="image/png" url="http://i1.asp.net/avatar/noobie.jpg?forceidenticon=false&amp;dt=635044549200000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by shatru</title><link>http://www.asp.net/web-forms/videos/how-do-i/how-do-i-create-a-custom-membership-provider</link><pubDate>Wed, 24 Jun 2009 10:23:55 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000005165</guid><description><![CDATA[ <p>Can anyone explain the process of this video. The file named HDIMembershipProvide.cs (HDIMembershipProvide.vb in video) didnt get created in my case.</p><p>I follow these steps:</p><p>First I created a blank solution</p><p>Then I add a project of class library in the solution.</p><p>Then I add the inheritence part t te class i.e.</p><p>System.Web.Security.MembershipProvider.</p><p>But when I looked into the Solution Explorer I didnt find the file.</p><p>Hope things are clear.</p><p>Thanx in advnce</p><p></p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/shatru.jpg?forceidenticon=false&amp;dt=635044549200000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item></channel></rss>