<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="/rss.xsl"?><rss version="2.0"><channel><title>AltairisWebSecurity Work Item Rss Feed</title><link>http://www.codeplex.com/AltairisWebSecurityrojectName=AltairisWebProviders</link><description>AltairisWebSecurity Work Item Rss Description</description><item><title>Closed Issue: SimpleSqlProfileProvider is not Unicode compatible [33674]</title><link>http://altairiswebsecurity.codeplex.com/workitem/33674</link><description>KeyValue column &amp;#40;where the User Name is stored&amp;#41; is getting its value via a varchar type parameter instead of nvarchar. That means if one needs to provide Unicode characters as user name it will strip some useful characters from that.&lt;br /&gt;Comments: That's one of the reasons why it's deprecated and not recommended to be used anymore. Use http://code.msdn.microsoft.com/aspnet4profile</description><author>altair</author><pubDate>Thu, 17 Jan 2013 15:17:45 GMT</pubDate><guid isPermaLink="false">Closed Issue: SimpleSqlProfileProvider is not Unicode compatible [33674] 20130117031745P</guid></item><item><title>Created Issue: SimpleSqlProfileProvider is not Unicode compatible [33674]</title><link>http://altairiswebsecurity.codeplex.com/workitem/33674</link><description>KeyValue column &amp;#40;where the User Name is stored&amp;#41; is getting its value via a varchar type parameter instead of nvarchar. That means if one needs to provide Unicode characters as user name it will strip some useful characters from that.&lt;br /&gt;</description><author>denes</author><pubDate>Thu, 17 Jan 2013 12:55:43 GMT</pubDate><guid isPermaLink="false">Created Issue: SimpleSqlProfileProvider is not Unicode compatible [33674] 20130117125543P</guid></item><item><title>Created Issue: UserID in RoleMemberships Table [32976]</title><link>http://altairiswebsecurity.codeplex.com/workitem/32976</link><description>You support userKeyType&amp;#61;&amp;#34;IntIdentity&amp;#34;, which is great for linking the user throughout the rest of the DB, however it would be beneficial if this was&amp;#58;&lt;br /&gt;&lt;br /&gt;1&amp;#41; Supported by the RoleProvider - perhaps also requiring userKeyType&amp;#61;&amp;#34;IntIdentity&amp;#34;. That is, supported UserId instead of UserName column.&lt;br /&gt;2&amp;#41; &amp;#40;The default, surrogate keys are the bomb&amp;#33;&amp;#41;&lt;br /&gt;&lt;br /&gt;This should help by making UserNames &amp;#40;as well as Email addresses&amp;#41; completely fluid without impacting the DB integrity.&lt;br /&gt;&lt;br /&gt;Cheers&amp;#33;&lt;br /&gt;</description><author>merarischroeder</author><pubDate>Fri, 27 Jul 2012 06:18:38 GMT</pubDate><guid isPermaLink="false">Created Issue: UserID in RoleMemberships Table [32976] 20120727061838A</guid></item><item><title>Commented Issue: How to use Altairis with Entity Framework 4.3 Migrations? [32273]</title><link>http://altairiswebsecurity.codeplex.com/workitem/32273</link><description>Hi,&lt;br /&gt;&lt;br /&gt;First off - thanks so much for making this toolkit. I use it on tons of projects to help make memberships even earlier to use &amp;#58;&amp;#41;&lt;br /&gt;&lt;br /&gt;I have a small issue trying to create a user when my database is generated using Migrations &amp;#40;EF 4.3&amp;#41;.&lt;br /&gt;&lt;br /&gt;I receive the following error&amp;#58;&lt;br /&gt;The password-answer supplied is invalid.&lt;br /&gt;&lt;br /&gt;My code is&amp;#58; &lt;br /&gt;internal sealed class Configuration &amp;#58; DbMigrationsConfiguration&amp;#60;MyProject.Data.DataContext&amp;#62;&lt;br /&gt;    &amp;#123;&lt;br /&gt;        public Configuration&amp;#40;&amp;#41;&lt;br /&gt;        &amp;#123;&lt;br /&gt;            AutomaticMigrationsEnabled &amp;#61; true&amp;#59;&lt;br /&gt;        &amp;#125;&lt;br /&gt;&lt;br /&gt;        protected override void Seed&amp;#40;MyProject.Data.DataContext context&amp;#41;&lt;br /&gt;        &amp;#123;&lt;br /&gt;            &amp;#47;&amp;#47; create default User&lt;br /&gt;            MembershipCreateStatus status &amp;#61; new MembershipCreateStatus&amp;#40;&amp;#41;&amp;#59;&lt;br /&gt;            User admin &amp;#61; context.Users.Find&amp;#40;&amp;#34;TestGuy&amp;#34;&amp;#41;&amp;#59;&lt;br /&gt;        if &amp;#40;admin &amp;#61;&amp;#61; null&amp;#41;&lt;br /&gt;        &amp;#123;&lt;br /&gt;            Membership.CreateUser&amp;#40;&amp;#34;TestGuy&amp;#34;, &amp;#34;TestGuy123&amp;#34;, &amp;#34;testguy&amp;#64;test.com&amp;#34;&amp;#41;&amp;#59;&lt;br /&gt;            if &amp;#40;status &amp;#61;&amp;#61; MembershipCreateStatus.Success&amp;#41;&lt;br /&gt;            &amp;#123;&lt;br /&gt;                admin.Firstname &amp;#61; &amp;#34;Test&amp;#34;&amp;#59;&lt;br /&gt;                admin.Surname &amp;#61; &amp;#34;Guy&amp;#34;&amp;#59;&lt;br /&gt;                admin.DateLastActivity &amp;#61; DateTime.Now&amp;#59;&lt;br /&gt;                admin.LastActivityRoute &amp;#61; &amp;#34;&amp;#47;Home&amp;#47;Index&amp;#34;&amp;#59;&lt;br /&gt;                Role adminRole &amp;#61; context.Roles.Find&amp;#40;&amp;#34;Administrator&amp;#34;&amp;#41;&amp;#59;&lt;br /&gt;                admin.Roles &amp;#61; new List&amp;#60;Role&amp;#62;&amp;#40;&amp;#41;&amp;#59;&lt;br /&gt;                admin.Roles.Add&amp;#40;adminRole&amp;#41;&amp;#59;&lt;br /&gt;            &amp;#125;&lt;br /&gt;        &amp;#125;&lt;br /&gt;            context.SaveChanges&amp;#40;&amp;#41;&amp;#59;&lt;br /&gt;        &amp;#125;&lt;br /&gt;    &amp;#125;&lt;br /&gt;&lt;br /&gt;The thing is - I don&amp;#39;t set one up on the create user call so I&amp;#39;m wondering how I could bypass this option. I have also set requiresQuestionAndAnswer&amp;#61;&amp;#34;false&amp;#34; in my web.config on the TableMembershipProvider tag.&lt;br /&gt;&lt;br /&gt;I have this question open over at StackOverflow.com - &lt;br /&gt;&lt;br /&gt;http&amp;#58;&amp;#47;&amp;#47;stackoverflow.com&amp;#47;questions&amp;#47;9326115&amp;#47;how-can-i-create-a-user-account-in-my-user-table-using-entity-framework-migratio&lt;br /&gt;&lt;br /&gt;Any ideas on how to overcome this would be very handy as all my projects have one super user access setup for me so I can manage the projects for my clients.&lt;br /&gt;&lt;br /&gt;Thanks for your help&amp;#33;&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;Rich&lt;br /&gt;Comments: ** Comment from web user: altair ** &lt;p&gt;Honestly, I don&amp;#39;t think it&amp;#39;s the right and supported way, to try create users from database seeding, especially when the seeding is supposed to work in non-web environments. I would recommend you to bypass the provider and seed the raw data to database. &lt;/p&gt;&lt;p&gt;But I didn&amp;#39;t had yet enough time to look into EF 4.3, so take it &amp;#39;grano salis&amp;#39;.&lt;/p&gt;</description><author>altair</author><pubDate>Mon, 20 Feb 2012 21:46:46 GMT</pubDate><guid isPermaLink="false">Commented Issue: How to use Altairis with Entity Framework 4.3 Migrations? [32273] 20120220094646P</guid></item><item><title>Commented Issue: How to use Altairis with Entity Framework 4.3 Migrations? [32273]</title><link>http://altairiswebsecurity.codeplex.com/workitem/32273</link><description>Hi,&lt;br /&gt;&lt;br /&gt;First off - thanks so much for making this toolkit. I use it on tons of projects to help make memberships even earlier to use &amp;#58;&amp;#41;&lt;br /&gt;&lt;br /&gt;I have a small issue trying to create a user when my database is generated using Migrations &amp;#40;EF 4.3&amp;#41;.&lt;br /&gt;&lt;br /&gt;I receive the following error&amp;#58;&lt;br /&gt;The password-answer supplied is invalid.&lt;br /&gt;&lt;br /&gt;My code is&amp;#58; &lt;br /&gt;internal sealed class Configuration &amp;#58; DbMigrationsConfiguration&amp;#60;MyProject.Data.DataContext&amp;#62;&lt;br /&gt;    &amp;#123;&lt;br /&gt;        public Configuration&amp;#40;&amp;#41;&lt;br /&gt;        &amp;#123;&lt;br /&gt;            AutomaticMigrationsEnabled &amp;#61; true&amp;#59;&lt;br /&gt;        &amp;#125;&lt;br /&gt;&lt;br /&gt;        protected override void Seed&amp;#40;MyProject.Data.DataContext context&amp;#41;&lt;br /&gt;        &amp;#123;&lt;br /&gt;            &amp;#47;&amp;#47; create default User&lt;br /&gt;            MembershipCreateStatus status &amp;#61; new MembershipCreateStatus&amp;#40;&amp;#41;&amp;#59;&lt;br /&gt;            User admin &amp;#61; context.Users.Find&amp;#40;&amp;#34;TestGuy&amp;#34;&amp;#41;&amp;#59;&lt;br /&gt;        if &amp;#40;admin &amp;#61;&amp;#61; null&amp;#41;&lt;br /&gt;        &amp;#123;&lt;br /&gt;            Membership.CreateUser&amp;#40;&amp;#34;TestGuy&amp;#34;, &amp;#34;TestGuy123&amp;#34;, &amp;#34;testguy&amp;#64;test.com&amp;#34;&amp;#41;&amp;#59;&lt;br /&gt;            if &amp;#40;status &amp;#61;&amp;#61; MembershipCreateStatus.Success&amp;#41;&lt;br /&gt;            &amp;#123;&lt;br /&gt;                admin.Firstname &amp;#61; &amp;#34;Test&amp;#34;&amp;#59;&lt;br /&gt;                admin.Surname &amp;#61; &amp;#34;Guy&amp;#34;&amp;#59;&lt;br /&gt;                admin.DateLastActivity &amp;#61; DateTime.Now&amp;#59;&lt;br /&gt;                admin.LastActivityRoute &amp;#61; &amp;#34;&amp;#47;Home&amp;#47;Index&amp;#34;&amp;#59;&lt;br /&gt;                Role adminRole &amp;#61; context.Roles.Find&amp;#40;&amp;#34;Administrator&amp;#34;&amp;#41;&amp;#59;&lt;br /&gt;                admin.Roles &amp;#61; new List&amp;#60;Role&amp;#62;&amp;#40;&amp;#41;&amp;#59;&lt;br /&gt;                admin.Roles.Add&amp;#40;adminRole&amp;#41;&amp;#59;&lt;br /&gt;            &amp;#125;&lt;br /&gt;        &amp;#125;&lt;br /&gt;            context.SaveChanges&amp;#40;&amp;#41;&amp;#59;&lt;br /&gt;        &amp;#125;&lt;br /&gt;    &amp;#125;&lt;br /&gt;&lt;br /&gt;The thing is - I don&amp;#39;t set one up on the create user call so I&amp;#39;m wondering how I could bypass this option. I have also set requiresQuestionAndAnswer&amp;#61;&amp;#34;false&amp;#34; in my web.config on the TableMembershipProvider tag.&lt;br /&gt;&lt;br /&gt;I have this question open over at StackOverflow.com - &lt;br /&gt;&lt;br /&gt;http&amp;#58;&amp;#47;&amp;#47;stackoverflow.com&amp;#47;questions&amp;#47;9326115&amp;#47;how-can-i-create-a-user-account-in-my-user-table-using-entity-framework-migratio&lt;br /&gt;&lt;br /&gt;Any ideas on how to overcome this would be very handy as all my projects have one super user access setup for me so I can manage the projects for my clients.&lt;br /&gt;&lt;br /&gt;Thanks for your help&amp;#33;&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;Rich&lt;br /&gt;Comments: ** Comment from web user: onimusha_kiyoko ** &lt;p&gt;Hi again,&lt;/p&gt;&lt;p&gt;Thanks for your updates. I have managed to get this working by settings the initial user to be created when the user first goes to the Account&amp;#47;Logon page instead of in the database initializer. It&amp;#39;s a bit of a shame that the EF 4.3 Seed options don&amp;#39;t play nice with memberships. I&amp;#39;m sure they&amp;#39;ll sort it out soon or someone else will post a work around.&lt;/p&gt;&lt;p&gt;You&amp;#39;re right through, this is not an issue with your provider. This is an issue trying to use the provider with the EF migrations code.&lt;/p&gt;&lt;p&gt;Thanks for your time.&lt;/p&gt;&lt;p&gt;Regards,&lt;br /&gt;Rich&lt;/p&gt;</description><author>onimusha_kiyoko</author><pubDate>Mon, 20 Feb 2012 20:27:15 GMT</pubDate><guid isPermaLink="false">Commented Issue: How to use Altairis with Entity Framework 4.3 Migrations? [32273] 20120220082715P</guid></item><item><title>Commented Issue: How to use Altairis with Entity Framework 4.3 Migrations? [32273]</title><link>http://altairiswebsecurity.codeplex.com/workitem/32273</link><description>Hi,&lt;br /&gt;&lt;br /&gt;First off - thanks so much for making this toolkit. I use it on tons of projects to help make memberships even earlier to use &amp;#58;&amp;#41;&lt;br /&gt;&lt;br /&gt;I have a small issue trying to create a user when my database is generated using Migrations &amp;#40;EF 4.3&amp;#41;.&lt;br /&gt;&lt;br /&gt;I receive the following error&amp;#58;&lt;br /&gt;The password-answer supplied is invalid.&lt;br /&gt;&lt;br /&gt;My code is&amp;#58; &lt;br /&gt;internal sealed class Configuration &amp;#58; DbMigrationsConfiguration&amp;#60;MyProject.Data.DataContext&amp;#62;&lt;br /&gt;    &amp;#123;&lt;br /&gt;        public Configuration&amp;#40;&amp;#41;&lt;br /&gt;        &amp;#123;&lt;br /&gt;            AutomaticMigrationsEnabled &amp;#61; true&amp;#59;&lt;br /&gt;        &amp;#125;&lt;br /&gt;&lt;br /&gt;        protected override void Seed&amp;#40;MyProject.Data.DataContext context&amp;#41;&lt;br /&gt;        &amp;#123;&lt;br /&gt;            &amp;#47;&amp;#47; create default User&lt;br /&gt;            MembershipCreateStatus status &amp;#61; new MembershipCreateStatus&amp;#40;&amp;#41;&amp;#59;&lt;br /&gt;            User admin &amp;#61; context.Users.Find&amp;#40;&amp;#34;TestGuy&amp;#34;&amp;#41;&amp;#59;&lt;br /&gt;        if &amp;#40;admin &amp;#61;&amp;#61; null&amp;#41;&lt;br /&gt;        &amp;#123;&lt;br /&gt;            Membership.CreateUser&amp;#40;&amp;#34;TestGuy&amp;#34;, &amp;#34;TestGuy123&amp;#34;, &amp;#34;testguy&amp;#64;test.com&amp;#34;&amp;#41;&amp;#59;&lt;br /&gt;            if &amp;#40;status &amp;#61;&amp;#61; MembershipCreateStatus.Success&amp;#41;&lt;br /&gt;            &amp;#123;&lt;br /&gt;                admin.Firstname &amp;#61; &amp;#34;Test&amp;#34;&amp;#59;&lt;br /&gt;                admin.Surname &amp;#61; &amp;#34;Guy&amp;#34;&amp;#59;&lt;br /&gt;                admin.DateLastActivity &amp;#61; DateTime.Now&amp;#59;&lt;br /&gt;                admin.LastActivityRoute &amp;#61; &amp;#34;&amp;#47;Home&amp;#47;Index&amp;#34;&amp;#59;&lt;br /&gt;                Role adminRole &amp;#61; context.Roles.Find&amp;#40;&amp;#34;Administrator&amp;#34;&amp;#41;&amp;#59;&lt;br /&gt;                admin.Roles &amp;#61; new List&amp;#60;Role&amp;#62;&amp;#40;&amp;#41;&amp;#59;&lt;br /&gt;                admin.Roles.Add&amp;#40;adminRole&amp;#41;&amp;#59;&lt;br /&gt;            &amp;#125;&lt;br /&gt;        &amp;#125;&lt;br /&gt;            context.SaveChanges&amp;#40;&amp;#41;&amp;#59;&lt;br /&gt;        &amp;#125;&lt;br /&gt;    &amp;#125;&lt;br /&gt;&lt;br /&gt;The thing is - I don&amp;#39;t set one up on the create user call so I&amp;#39;m wondering how I could bypass this option. I have also set requiresQuestionAndAnswer&amp;#61;&amp;#34;false&amp;#34; in my web.config on the TableMembershipProvider tag.&lt;br /&gt;&lt;br /&gt;I have this question open over at StackOverflow.com - &lt;br /&gt;&lt;br /&gt;http&amp;#58;&amp;#47;&amp;#47;stackoverflow.com&amp;#47;questions&amp;#47;9326115&amp;#47;how-can-i-create-a-user-account-in-my-user-table-using-entity-framework-migratio&lt;br /&gt;&lt;br /&gt;Any ideas on how to overcome this would be very handy as all my projects have one super user access setup for me so I can manage the projects for my clients.&lt;br /&gt;&lt;br /&gt;Thanks for your help&amp;#33;&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;Rich&lt;br /&gt;Comments: ** Comment from web user: altair ** &lt;p&gt;I don&amp;#39;t understand the EF database migration and the mechanism is completely unrelated to my providers, which do not have anything in common with EF. So maybe the problem is in context where the provider methods are called.&lt;/p&gt;&lt;p&gt;Can you please provide me with some simple but complete project I can take a look on&amp;#63;&lt;/p&gt;</description><author>altair</author><pubDate>Mon, 20 Feb 2012 16:44:58 GMT</pubDate><guid isPermaLink="false">Commented Issue: How to use Altairis with Entity Framework 4.3 Migrations? [32273] 20120220044458P</guid></item><item><title>Commented Issue: How to use Altairis with Entity Framework 4.3 Migrations? [32273]</title><link>http://altairiswebsecurity.codeplex.com/workitem/32273</link><description>Hi,&lt;br /&gt;&lt;br /&gt;First off - thanks so much for making this toolkit. I use it on tons of projects to help make memberships even earlier to use &amp;#58;&amp;#41;&lt;br /&gt;&lt;br /&gt;I have a small issue trying to create a user when my database is generated using Migrations &amp;#40;EF 4.3&amp;#41;.&lt;br /&gt;&lt;br /&gt;I receive the following error&amp;#58;&lt;br /&gt;The password-answer supplied is invalid.&lt;br /&gt;&lt;br /&gt;My code is&amp;#58; &lt;br /&gt;internal sealed class Configuration &amp;#58; DbMigrationsConfiguration&amp;#60;MyProject.Data.DataContext&amp;#62;&lt;br /&gt;    &amp;#123;&lt;br /&gt;        public Configuration&amp;#40;&amp;#41;&lt;br /&gt;        &amp;#123;&lt;br /&gt;            AutomaticMigrationsEnabled &amp;#61; true&amp;#59;&lt;br /&gt;        &amp;#125;&lt;br /&gt;&lt;br /&gt;        protected override void Seed&amp;#40;MyProject.Data.DataContext context&amp;#41;&lt;br /&gt;        &amp;#123;&lt;br /&gt;            &amp;#47;&amp;#47; create default User&lt;br /&gt;            MembershipCreateStatus status &amp;#61; new MembershipCreateStatus&amp;#40;&amp;#41;&amp;#59;&lt;br /&gt;            User admin &amp;#61; context.Users.Find&amp;#40;&amp;#34;TestGuy&amp;#34;&amp;#41;&amp;#59;&lt;br /&gt;        if &amp;#40;admin &amp;#61;&amp;#61; null&amp;#41;&lt;br /&gt;        &amp;#123;&lt;br /&gt;            Membership.CreateUser&amp;#40;&amp;#34;TestGuy&amp;#34;, &amp;#34;TestGuy123&amp;#34;, &amp;#34;testguy&amp;#64;test.com&amp;#34;&amp;#41;&amp;#59;&lt;br /&gt;            if &amp;#40;status &amp;#61;&amp;#61; MembershipCreateStatus.Success&amp;#41;&lt;br /&gt;            &amp;#123;&lt;br /&gt;                admin.Firstname &amp;#61; &amp;#34;Test&amp;#34;&amp;#59;&lt;br /&gt;                admin.Surname &amp;#61; &amp;#34;Guy&amp;#34;&amp;#59;&lt;br /&gt;                admin.DateLastActivity &amp;#61; DateTime.Now&amp;#59;&lt;br /&gt;                admin.LastActivityRoute &amp;#61; &amp;#34;&amp;#47;Home&amp;#47;Index&amp;#34;&amp;#59;&lt;br /&gt;                Role adminRole &amp;#61; context.Roles.Find&amp;#40;&amp;#34;Administrator&amp;#34;&amp;#41;&amp;#59;&lt;br /&gt;                admin.Roles &amp;#61; new List&amp;#60;Role&amp;#62;&amp;#40;&amp;#41;&amp;#59;&lt;br /&gt;                admin.Roles.Add&amp;#40;adminRole&amp;#41;&amp;#59;&lt;br /&gt;            &amp;#125;&lt;br /&gt;        &amp;#125;&lt;br /&gt;            context.SaveChanges&amp;#40;&amp;#41;&amp;#59;&lt;br /&gt;        &amp;#125;&lt;br /&gt;    &amp;#125;&lt;br /&gt;&lt;br /&gt;The thing is - I don&amp;#39;t set one up on the create user call so I&amp;#39;m wondering how I could bypass this option. I have also set requiresQuestionAndAnswer&amp;#61;&amp;#34;false&amp;#34; in my web.config on the TableMembershipProvider tag.&lt;br /&gt;&lt;br /&gt;I have this question open over at StackOverflow.com - &lt;br /&gt;&lt;br /&gt;http&amp;#58;&amp;#47;&amp;#47;stackoverflow.com&amp;#47;questions&amp;#47;9326115&amp;#47;how-can-i-create-a-user-account-in-my-user-table-using-entity-framework-migratio&lt;br /&gt;&lt;br /&gt;Any ideas on how to overcome this would be very handy as all my projects have one super user access setup for me so I can manage the projects for my clients.&lt;br /&gt;&lt;br /&gt;Thanks for your help&amp;#33;&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;Rich&lt;br /&gt;Comments: ** Comment from web user: onimusha_kiyoko ** &lt;p&gt;My code was not correct in my previous post and I am unable to edit. Please see below for current code. As mentioned, this compiles and database is initialized but no user is created in the User table for me.&lt;/p&gt;&lt;p&gt;&amp;#47;&amp;#47; create default User&lt;br /&gt;MembershipCreateStatus status&amp;#59;&lt;br /&gt;User admin &amp;#61; context.Users.Find&amp;#40;&amp;#34;TestGuy&amp;#34;&amp;#41;&amp;#59;&lt;br /&gt;if &amp;#40;admin &amp;#61;&amp;#61; null&amp;#41;&lt;br /&gt;&amp;#123;&lt;br /&gt;Membership.CreateUser&amp;#40;&amp;#34;TestGuy&amp;#34;, &amp;#34;TestGuy123&amp;#34;, &amp;#34;testguy&amp;#64;test.com&amp;#34;, null, null, true, out status&amp;#41;&amp;#59;&lt;br /&gt;if &amp;#40;status &amp;#61;&amp;#61; MembershipCreateStatus.Success&amp;#41;&lt;br /&gt;&amp;#123;&lt;br /&gt;admin &amp;#61; context.Users.Find&amp;#40;&amp;#34;TestGuy&amp;#34;&amp;#41;&amp;#59;&lt;br /&gt;admin.Firstname &amp;#61; &amp;#34;Test&amp;#34;&amp;#59;&lt;br /&gt;admin.Surname &amp;#61; &amp;#34;Guy&amp;#34;&amp;#59;&lt;br /&gt;admin.DateLastActivity &amp;#61; DateTime.Now&amp;#59;&lt;br /&gt;admin.LastActivityRoute &amp;#61; &amp;#34;&amp;#47;Home&amp;#47;Index&amp;#34;&amp;#59;&lt;br /&gt;Role adminRole &amp;#61; context.Roles.Find&amp;#40;&amp;#34;Administrator&amp;#34;&amp;#41;&amp;#59;&lt;br /&gt;admin.Roles &amp;#61; new List&amp;#60;Role&amp;#62;&amp;#40;&amp;#41;&amp;#59;&lt;br /&gt;admin.Roles.Add&amp;#40;adminRole&amp;#41;&amp;#59;&lt;br /&gt;&amp;#125;&lt;br /&gt;&amp;#125; &lt;/p&gt;</description><author>onimusha_kiyoko</author><pubDate>Mon, 20 Feb 2012 11:11:22 GMT</pubDate><guid isPermaLink="false">Commented Issue: How to use Altairis with Entity Framework 4.3 Migrations? [32273] 20120220111122A</guid></item><item><title>Commented Issue: How to use Altairis with Entity Framework 4.3 Migrations? [32273]</title><link>http://altairiswebsecurity.codeplex.com/workitem/32273</link><description>Hi,&lt;br /&gt;&lt;br /&gt;First off - thanks so much for making this toolkit. I use it on tons of projects to help make memberships even earlier to use &amp;#58;&amp;#41;&lt;br /&gt;&lt;br /&gt;I have a small issue trying to create a user when my database is generated using Migrations &amp;#40;EF 4.3&amp;#41;.&lt;br /&gt;&lt;br /&gt;I receive the following error&amp;#58;&lt;br /&gt;The password-answer supplied is invalid.&lt;br /&gt;&lt;br /&gt;My code is&amp;#58; &lt;br /&gt;internal sealed class Configuration &amp;#58; DbMigrationsConfiguration&amp;#60;MyProject.Data.DataContext&amp;#62;&lt;br /&gt;    &amp;#123;&lt;br /&gt;        public Configuration&amp;#40;&amp;#41;&lt;br /&gt;        &amp;#123;&lt;br /&gt;            AutomaticMigrationsEnabled &amp;#61; true&amp;#59;&lt;br /&gt;        &amp;#125;&lt;br /&gt;&lt;br /&gt;        protected override void Seed&amp;#40;MyProject.Data.DataContext context&amp;#41;&lt;br /&gt;        &amp;#123;&lt;br /&gt;            &amp;#47;&amp;#47; create default User&lt;br /&gt;            MembershipCreateStatus status &amp;#61; new MembershipCreateStatus&amp;#40;&amp;#41;&amp;#59;&lt;br /&gt;            User admin &amp;#61; context.Users.Find&amp;#40;&amp;#34;TestGuy&amp;#34;&amp;#41;&amp;#59;&lt;br /&gt;        if &amp;#40;admin &amp;#61;&amp;#61; null&amp;#41;&lt;br /&gt;        &amp;#123;&lt;br /&gt;            Membership.CreateUser&amp;#40;&amp;#34;TestGuy&amp;#34;, &amp;#34;TestGuy123&amp;#34;, &amp;#34;testguy&amp;#64;test.com&amp;#34;&amp;#41;&amp;#59;&lt;br /&gt;            if &amp;#40;status &amp;#61;&amp;#61; MembershipCreateStatus.Success&amp;#41;&lt;br /&gt;            &amp;#123;&lt;br /&gt;                admin.Firstname &amp;#61; &amp;#34;Test&amp;#34;&amp;#59;&lt;br /&gt;                admin.Surname &amp;#61; &amp;#34;Guy&amp;#34;&amp;#59;&lt;br /&gt;                admin.DateLastActivity &amp;#61; DateTime.Now&amp;#59;&lt;br /&gt;                admin.LastActivityRoute &amp;#61; &amp;#34;&amp;#47;Home&amp;#47;Index&amp;#34;&amp;#59;&lt;br /&gt;                Role adminRole &amp;#61; context.Roles.Find&amp;#40;&amp;#34;Administrator&amp;#34;&amp;#41;&amp;#59;&lt;br /&gt;                admin.Roles &amp;#61; new List&amp;#60;Role&amp;#62;&amp;#40;&amp;#41;&amp;#59;&lt;br /&gt;                admin.Roles.Add&amp;#40;adminRole&amp;#41;&amp;#59;&lt;br /&gt;            &amp;#125;&lt;br /&gt;        &amp;#125;&lt;br /&gt;            context.SaveChanges&amp;#40;&amp;#41;&amp;#59;&lt;br /&gt;        &amp;#125;&lt;br /&gt;    &amp;#125;&lt;br /&gt;&lt;br /&gt;The thing is - I don&amp;#39;t set one up on the create user call so I&amp;#39;m wondering how I could bypass this option. I have also set requiresQuestionAndAnswer&amp;#61;&amp;#34;false&amp;#34; in my web.config on the TableMembershipProvider tag.&lt;br /&gt;&lt;br /&gt;I have this question open over at StackOverflow.com - &lt;br /&gt;&lt;br /&gt;http&amp;#58;&amp;#47;&amp;#47;stackoverflow.com&amp;#47;questions&amp;#47;9326115&amp;#47;how-can-i-create-a-user-account-in-my-user-table-using-entity-framework-migratio&lt;br /&gt;&lt;br /&gt;Any ideas on how to overcome this would be very handy as all my projects have one super user access setup for me so I can manage the projects for my clients.&lt;br /&gt;&lt;br /&gt;Thanks for your help&amp;#33;&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;Rich&lt;br /&gt;Comments: ** Comment from web user: onimusha_kiyoko ** &lt;p&gt;Thanks for coming back to me on this issue. I have altered my code so that now it compiles and EF 4.3 runs without any errors but no user is not generated. Any ideas what this could be&amp;#63;&lt;/p&gt;&lt;p&gt;Thanks again for your help with this.&lt;/p&gt;&lt;p&gt;&amp;#47;&amp;#47; create default User&lt;br /&gt;MembershipCreateStatus status&amp;#59;&lt;br /&gt;User admin &amp;#61; context.Users.Find&amp;#40;&amp;#34;TestGuy&amp;#34;&amp;#41;&amp;#59;&lt;br /&gt;if &amp;#40;admin &amp;#61;&amp;#61; null&amp;#41;&lt;br /&gt;&amp;#123;&lt;br /&gt;Membership.CreateUser&amp;#40;&amp;#34;TestGuy&amp;#34;, &amp;#34;TestGuy123&amp;#34;, &amp;#34;testguy&amp;#64;test.com&amp;#34;, null, null, true, out status&amp;#41;&amp;#59;&lt;br /&gt;if &amp;#40;status &amp;#61;&amp;#61; MembershipCreateStatus.Success&amp;#41;&lt;br /&gt;&amp;#123;&lt;br /&gt;admin.Firstname &amp;#61; &amp;#34;Test&amp;#34;&amp;#59;&lt;br /&gt;admin.Surname &amp;#61; &amp;#34;Guy&amp;#34;&amp;#59;&lt;br /&gt;admin.DateLastActivity &amp;#61; DateTime.Now&amp;#59;&lt;br /&gt;admin.LastActivityRoute &amp;#61; &amp;#34;&amp;#47;Home&amp;#47;Index&amp;#34;&amp;#59;&lt;br /&gt;Role adminRole &amp;#61; context.Roles.Find&amp;#40;&amp;#34;Administrator&amp;#34;&amp;#41;&amp;#59;&lt;br /&gt;admin.Roles &amp;#61; new List&amp;#60;Role&amp;#62;&amp;#40;&amp;#41;&amp;#59;&lt;br /&gt;admin.Roles.Add&amp;#40;adminRole&amp;#41;&amp;#59;&lt;br /&gt;&amp;#125;&lt;br /&gt;&amp;#125;&lt;/p&gt;</description><author>onimusha_kiyoko</author><pubDate>Mon, 20 Feb 2012 10:04:34 GMT</pubDate><guid isPermaLink="false">Commented Issue: How to use Altairis with Entity Framework 4.3 Migrations? [32273] 20120220100434A</guid></item><item><title>Commented Issue: How to use Altairis with Entity Framework 4.3 Migrations? [32273]</title><link>http://altairiswebsecurity.codeplex.com/workitem/32273</link><description>Hi,&lt;br /&gt;&lt;br /&gt;First off - thanks so much for making this toolkit. I use it on tons of projects to help make memberships even earlier to use &amp;#58;&amp;#41;&lt;br /&gt;&lt;br /&gt;I have a small issue trying to create a user when my database is generated using Migrations &amp;#40;EF 4.3&amp;#41;.&lt;br /&gt;&lt;br /&gt;I receive the following error&amp;#58;&lt;br /&gt;The password-answer supplied is invalid.&lt;br /&gt;&lt;br /&gt;My code is&amp;#58; &lt;br /&gt;internal sealed class Configuration &amp;#58; DbMigrationsConfiguration&amp;#60;MyProject.Data.DataContext&amp;#62;&lt;br /&gt;    &amp;#123;&lt;br /&gt;        public Configuration&amp;#40;&amp;#41;&lt;br /&gt;        &amp;#123;&lt;br /&gt;            AutomaticMigrationsEnabled &amp;#61; true&amp;#59;&lt;br /&gt;        &amp;#125;&lt;br /&gt;&lt;br /&gt;        protected override void Seed&amp;#40;MyProject.Data.DataContext context&amp;#41;&lt;br /&gt;        &amp;#123;&lt;br /&gt;            &amp;#47;&amp;#47; create default User&lt;br /&gt;            MembershipCreateStatus status &amp;#61; new MembershipCreateStatus&amp;#40;&amp;#41;&amp;#59;&lt;br /&gt;            User admin &amp;#61; context.Users.Find&amp;#40;&amp;#34;TestGuy&amp;#34;&amp;#41;&amp;#59;&lt;br /&gt;        if &amp;#40;admin &amp;#61;&amp;#61; null&amp;#41;&lt;br /&gt;        &amp;#123;&lt;br /&gt;            Membership.CreateUser&amp;#40;&amp;#34;TestGuy&amp;#34;, &amp;#34;TestGuy123&amp;#34;, &amp;#34;testguy&amp;#64;test.com&amp;#34;&amp;#41;&amp;#59;&lt;br /&gt;            if &amp;#40;status &amp;#61;&amp;#61; MembershipCreateStatus.Success&amp;#41;&lt;br /&gt;            &amp;#123;&lt;br /&gt;                admin.Firstname &amp;#61; &amp;#34;Test&amp;#34;&amp;#59;&lt;br /&gt;                admin.Surname &amp;#61; &amp;#34;Guy&amp;#34;&amp;#59;&lt;br /&gt;                admin.DateLastActivity &amp;#61; DateTime.Now&amp;#59;&lt;br /&gt;                admin.LastActivityRoute &amp;#61; &amp;#34;&amp;#47;Home&amp;#47;Index&amp;#34;&amp;#59;&lt;br /&gt;                Role adminRole &amp;#61; context.Roles.Find&amp;#40;&amp;#34;Administrator&amp;#34;&amp;#41;&amp;#59;&lt;br /&gt;                admin.Roles &amp;#61; new List&amp;#60;Role&amp;#62;&amp;#40;&amp;#41;&amp;#59;&lt;br /&gt;                admin.Roles.Add&amp;#40;adminRole&amp;#41;&amp;#59;&lt;br /&gt;            &amp;#125;&lt;br /&gt;        &amp;#125;&lt;br /&gt;            context.SaveChanges&amp;#40;&amp;#41;&amp;#59;&lt;br /&gt;        &amp;#125;&lt;br /&gt;    &amp;#125;&lt;br /&gt;&lt;br /&gt;The thing is - I don&amp;#39;t set one up on the create user call so I&amp;#39;m wondering how I could bypass this option. I have also set requiresQuestionAndAnswer&amp;#61;&amp;#34;false&amp;#34; in my web.config on the TableMembershipProvider tag.&lt;br /&gt;&lt;br /&gt;I have this question open over at StackOverflow.com - &lt;br /&gt;&lt;br /&gt;http&amp;#58;&amp;#47;&amp;#47;stackoverflow.com&amp;#47;questions&amp;#47;9326115&amp;#47;how-can-i-create-a-user-account-in-my-user-table-using-entity-framework-migratio&lt;br /&gt;&lt;br /&gt;Any ideas on how to overcome this would be very handy as all my projects have one super user access setup for me so I can manage the projects for my clients.&lt;br /&gt;&lt;br /&gt;Thanks for your help&amp;#33;&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;Rich&lt;br /&gt;Comments: ** Comment from web user: altair ** &lt;p&gt;In your code you don&amp;#39;t fill the &amp;#39;status&amp;#39; variable anywhere -- you just initialize it. That&amp;#39;s the first problem I see.&lt;/p&gt;</description><author>altair</author><pubDate>Fri, 17 Feb 2012 14:54:15 GMT</pubDate><guid isPermaLink="false">Commented Issue: How to use Altairis with Entity Framework 4.3 Migrations? [32273] 20120217025415P</guid></item><item><title>Created Issue: How to use Altairis with Entity Framework 4.3 Migrations? [32273]</title><link>http://altairiswebsecurity.codeplex.com/workitem/32273</link><description>Hi,&lt;br /&gt;&lt;br /&gt;First off - thanks so much for making this toolkit. I use it on tons of projects to help make memberships even earlier to use &amp;#58;&amp;#41;&lt;br /&gt;&lt;br /&gt;I have a small issue trying to create a user when my database is generated using Migrations &amp;#40;EF 4.3&amp;#41;.&lt;br /&gt;&lt;br /&gt;I receive the following error&amp;#58;&lt;br /&gt;The password-answer supplied is invalid.&lt;br /&gt;&lt;br /&gt;My code is&amp;#58; &lt;br /&gt;internal sealed class Configuration &amp;#58; DbMigrationsConfiguration&amp;#60;MyProject.Data.DataContext&amp;#62;&lt;br /&gt;    &amp;#123;&lt;br /&gt;        public Configuration&amp;#40;&amp;#41;&lt;br /&gt;        &amp;#123;&lt;br /&gt;            AutomaticMigrationsEnabled &amp;#61; true&amp;#59;&lt;br /&gt;        &amp;#125;&lt;br /&gt;&lt;br /&gt;        protected override void Seed&amp;#40;QSatCRM.Data.DataContext context&amp;#41;&lt;br /&gt;        &amp;#123;&lt;br /&gt;            &amp;#47;&amp;#47; create default User&lt;br /&gt;            MembershipCreateStatus status &amp;#61; new MembershipCreateStatus&amp;#40;&amp;#41;&amp;#59;&lt;br /&gt;            User admin &amp;#61; context.Users.Find&amp;#40;&amp;#34;TestGuy&amp;#34;&amp;#41;&amp;#59;&lt;br /&gt;        if &amp;#40;admin &amp;#61;&amp;#61; null&amp;#41;&lt;br /&gt;        &amp;#123;&lt;br /&gt;            Membership.CreateUser&amp;#40;&amp;#34;TestGuy&amp;#34;, &amp;#34;TestGuy123&amp;#34;, &amp;#34;testguy&amp;#64;test.com&amp;#34;&amp;#41;&amp;#59;&lt;br /&gt;            if &amp;#40;status &amp;#61;&amp;#61; MembershipCreateStatus.Success&amp;#41;&lt;br /&gt;            &amp;#123;&lt;br /&gt;                admin.Firstname &amp;#61; &amp;#34;Test&amp;#34;&amp;#59;&lt;br /&gt;                admin.Surname &amp;#61; &amp;#34;Guy&amp;#34;&amp;#59;&lt;br /&gt;                admin.DateLastActivity &amp;#61; DateTime.Now&amp;#59;&lt;br /&gt;                admin.LastActivityRoute &amp;#61; &amp;#34;&amp;#47;Home&amp;#47;Index&amp;#34;&amp;#59;&lt;br /&gt;                Role adminRole &amp;#61; context.Roles.Find&amp;#40;&amp;#34;Administrator&amp;#34;&amp;#41;&amp;#59;&lt;br /&gt;                admin.Roles &amp;#61; new List&amp;#60;Role&amp;#62;&amp;#40;&amp;#41;&amp;#59;&lt;br /&gt;                admin.Roles.Add&amp;#40;adminRole&amp;#41;&amp;#59;&lt;br /&gt;            &amp;#125;&lt;br /&gt;        &amp;#125;&lt;br /&gt;            context.SaveChanges&amp;#40;&amp;#41;&amp;#59;&lt;br /&gt;        &amp;#125;&lt;br /&gt;    &amp;#125;&lt;br /&gt;&lt;br /&gt;The thing is - I don&amp;#39;t set one up on the create user call so I&amp;#39;m wondering how I could bypass this option. I have also set requiresQuestionAndAnswer&amp;#61;&amp;#34;false&amp;#34; in my web.config on the TableMembershipProvider tag.&lt;br /&gt;&lt;br /&gt;I have this question open over at StackOverflow.com - &lt;br /&gt;&lt;br /&gt;http&amp;#58;&amp;#47;&amp;#47;stackoverflow.com&amp;#47;questions&amp;#47;9326115&amp;#47;how-can-i-create-a-user-account-in-my-user-table-using-entity-framework-migratio&lt;br /&gt;&lt;br /&gt;Any ideas on how to overcome this would be very handy as all my projects have one super user access setup for me so I can manage the projects for my clients.&lt;br /&gt;&lt;br /&gt;Thanks for your help&amp;#33;&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;Rich&lt;br /&gt;</description><author>onimusha_kiyoko</author><pubDate>Fri, 17 Feb 2012 14:24:17 GMT</pubDate><guid isPermaLink="false">Created Issue: How to use Altairis with Entity Framework 4.3 Migrations? [32273] 20120217022417P</guid></item><item><title>Commented Issue: VerifyPasswordHash missing argument checks [32089]</title><link>http://altairiswebsecurity.codeplex.com/workitem/32089</link><description>Method VerifyPasswordHash is missing argument checks for null for storedHash and storedSalt.&lt;br /&gt;&lt;br /&gt;Proposed code is in attached file.&lt;br /&gt;&lt;br /&gt;Also&lt;br /&gt;if &amp;#40;storedSalt.Length &amp;#33;&amp;#61; 128&amp;#41; throw new ArgumentException&amp;#40;&amp;#34;Invalid length of password salt &amp;#40;128 bytes expected&amp;#41;.&amp;#34;, &amp;#34;passwordHash&amp;#34;&amp;#41;&amp;#59;&lt;br /&gt;should be &lt;br /&gt;if &amp;#40;storedSalt.Length &amp;#33;&amp;#61; 128&amp;#41; throw new ArgumentException&amp;#40;&amp;#34;Invalid length of password salt &amp;#40;128 bytes expected&amp;#41;.&amp;#34;, &amp;#34;storedSalt&amp;#34;&amp;#41;&amp;#59;&lt;br /&gt;Comments: ** Comment from web user: AlesR ** &lt;p&gt;Yes, this does not really affect toolkit behavior. There is no way for arguments to be wrong.&lt;br /&gt;It&amp;#39;s just that when you&amp;#39;re testing arguments, I would think that you will test everything.&lt;br /&gt;It also includes one typo, but this is very minor. Maybe not worth opening Visual Studio. For that reason I&amp;#39;ve also proposed the code so it&amp;#39;s zero work for you.&lt;br /&gt;I&amp;#39;m done, it&amp;#39;s your call.&lt;/p&gt;</description><author>AlesR</author><pubDate>Wed, 18 Jan 2012 10:41:07 GMT</pubDate><guid isPermaLink="false">Commented Issue: VerifyPasswordHash missing argument checks [32089] 20120118104107A</guid></item><item><title>Closed Issue: VerifyPasswordHash missing argument checks [32089]</title><link>http://altairiswebsecurity.codeplex.com/workitem/32089</link><description>Method VerifyPasswordHash is missing argument checks for null for storedHash and storedSalt.&lt;br /&gt;&lt;br /&gt;Proposed code is in attached file.&lt;br /&gt;&lt;br /&gt;Also&lt;br /&gt;if &amp;#40;storedSalt.Length &amp;#33;&amp;#61; 128&amp;#41; throw new ArgumentException&amp;#40;&amp;#34;Invalid length of password salt &amp;#40;128 bytes expected&amp;#41;.&amp;#34;, &amp;#34;passwordHash&amp;#34;&amp;#41;&amp;#59;&lt;br /&gt;should be &lt;br /&gt;if &amp;#40;storedSalt.Length &amp;#33;&amp;#61; 128&amp;#41; throw new ArgumentException&amp;#40;&amp;#34;Invalid length of password salt &amp;#40;128 bytes expected&amp;#41;.&amp;#34;, &amp;#34;storedSalt&amp;#34;&amp;#41;&amp;#59;&lt;br /&gt;Comments: &lt;p&gt;There is no legitimate way incorrect value can be stored in the database in first place. The only way this can happen is that someone fiddles with database and in such case anything may happen - anything can be null, fields can be renamed or having wrong type... There is no way how to handle that, once someone starts corrupting real data.&lt;/p&gt;</description><author>altair</author><pubDate>Wed, 18 Jan 2012 10:02:35 GMT</pubDate><guid isPermaLink="false">Closed Issue: VerifyPasswordHash missing argument checks [32089] 20120118100235A</guid></item><item><title>Created Issue: VerifyPasswordHash missing argument checks [32089]</title><link>http://altairiswebsecurity.codeplex.com/workitem/32089</link><description>Method VerifyPasswordHash is missing argument checks for null for storedHash and storedSalt.&lt;br /&gt;&lt;br /&gt;Proposed code is in attached file.&lt;br /&gt;</description><author>AlesR</author><pubDate>Wed, 18 Jan 2012 08:41:07 GMT</pubDate><guid isPermaLink="false">Created Issue: VerifyPasswordHash missing argument checks [32089] 20120118084107A</guid></item><item><title>Closed Issue: Misnamed configuration name minRequiredNonAlphanumericCharacters [31931]</title><link>http://altairiswebsecurity.codeplex.com/workitem/31931</link><description>This configuration name &amp;#40;minRequiredNonAlphanumericCharacters&amp;#41; must be renamed to minRequiredNonalphanumericCharacters&lt;br /&gt;&amp;#34;a&amp;#34; in alphanumeric must be in lower case..&lt;br /&gt;AspNetSqlMembershipProvider works this way.. also it must be defaulted to 0&lt;br /&gt;Comments: &lt;p&gt;The naming is quite inconsistent, considering mapping between property and configuration attribute, so I decided to play safe and allow both capitalization variants. Fixed in 2.4.3&lt;/p&gt;</description><author>altair</author><pubDate>Sun, 18 Dec 2011 23:06:36 GMT</pubDate><guid isPermaLink="false">Closed Issue: Misnamed configuration name minRequiredNonAlphanumericCharacters [31931] 20111218110636P</guid></item><item><title>Created Issue: Configuration Name minRequiredNonAlphanumericCharacters [31931]</title><link>http://altairiswebsecurity.codeplex.com/workitem/31931</link><description>This configuration name &amp;#40;minRequiredNonAlphanumericCharacters&amp;#41; must be renamed to minRequiredNonalphanumericCharacters&lt;br /&gt;a in alphanumeric must be in lower case..&lt;br /&gt;AspNetSqlMembershipProvider works this way.. also it must be defaulted to 0&lt;br /&gt;</description><author>arash16</author><pubDate>Mon, 12 Dec 2011 21:44:24 GMT</pubDate><guid isPermaLink="false">Created Issue: Configuration Name minRequiredNonAlphanumericCharacters [31931] 20111212094424P</guid></item><item><title>Commented Issue: Membership.UpdateUser fails when user.Comment == null [31864]</title><link>http://altairiswebsecurity.codeplex.com/workitem/31864</link><description>&amp;#40;Please forgive me if I&amp;#8217;m missing something obvious &amp;#8212; I&amp;#39;m quite new to C&amp;#35; and ASP.NET&amp;#33;&amp;#41;&lt;br /&gt;&lt;br /&gt;When I run Membership.UpdateUser&amp;#40;user&amp;#41; when user.Comment &amp;#61;&amp;#61; null, I get a System.Configuration.Provider.ProviderException &amp;#8220;Error while performing database query.&amp;#8221; The InnerException is System.Data.SqlClient.SqlException &amp;#8220;The parameterized query &amp;#39;&amp;#40;&amp;#64;UserName nvarchar&amp;#40;5&amp;#41;,&amp;#64;Email nvarchar&amp;#40;18&amp;#41;,&amp;#64;Comment nvarchar&amp;#40;400&amp;#39; expects the parameter &amp;#39;&amp;#64;Comment&amp;#39;, which was not supplied.&amp;#8221;&lt;br /&gt;&lt;br /&gt;Membership.CreateUser sets the comment field to null, so it seems to me that the provider&amp;#8217;s query shouldn&amp;#8217;t be assuming it has a value.&lt;br /&gt;&lt;br /&gt;I&amp;#8217;m not 100&amp;#37; sure, but I believe UpdateUser wasn&amp;#8217;t doing this in 2.4.0, and has started in 2.4.1. It&amp;#8217;s trivial to ensure that the comment field isn&amp;#8217;t null, but it shouldn&amp;#8217;t be necessary.&lt;br /&gt;&lt;br /&gt;Thanks&amp;#33;&lt;br /&gt;Comments: ** Comment from web user: GrantHeaslip ** &lt;p&gt;Perfect, and thanks for the great library&amp;#33;&lt;/p&gt;</description><author>GrantHeaslip</author><pubDate>Thu, 01 Dec 2011 16:45:23 GMT</pubDate><guid isPermaLink="false">Commented Issue: Membership.UpdateUser fails when user.Comment == null [31864] 20111201044523P</guid></item><item><title>Closed Issue: Membership.UpdateUser fails when user.Comment == null [31864]</title><link>http://altairiswebsecurity.codeplex.com/workitem/31864</link><description>&amp;#40;Please forgive me if I&amp;#8217;m missing something obvious &amp;#8212; I&amp;#39;m quite new to C&amp;#35; and ASP.NET&amp;#33;&amp;#41;&lt;br /&gt;&lt;br /&gt;When I run Membership.UpdateUser&amp;#40;user&amp;#41; when user.Comment &amp;#61;&amp;#61; null, I get a System.Configuration.Provider.ProviderException &amp;#8220;Error while performing database query.&amp;#8221; The InnerException is System.Data.SqlClient.SqlException &amp;#8220;The parameterized query &amp;#39;&amp;#40;&amp;#64;UserName nvarchar&amp;#40;5&amp;#41;,&amp;#64;Email nvarchar&amp;#40;18&amp;#41;,&amp;#64;Comment nvarchar&amp;#40;400&amp;#39; expects the parameter &amp;#39;&amp;#64;Comment&amp;#39;, which was not supplied.&amp;#8221;&lt;br /&gt;&lt;br /&gt;Membership.CreateUser sets the comment field to null, so it seems to me that the provider&amp;#8217;s query shouldn&amp;#8217;t be assuming it has a value.&lt;br /&gt;&lt;br /&gt;I&amp;#8217;m not 100&amp;#37; sure, but I believe UpdateUser wasn&amp;#8217;t doing this in 2.4.0, and has started in 2.4.1. It&amp;#8217;s trivial to ensure that the comment field isn&amp;#8217;t null, but it shouldn&amp;#8217;t be necessary.&lt;br /&gt;&lt;br /&gt;Thanks&amp;#33;&lt;br /&gt;Comments: &lt;p&gt;&lt;/p&gt;</description><author>altair</author><pubDate>Thu, 01 Dec 2011 12:32:54 GMT</pubDate><guid isPermaLink="false">Closed Issue: Membership.UpdateUser fails when user.Comment == null [31864] 20111201123254P</guid></item><item><title>Commented Issue: Membership.UpdateUser fails when user.Comment == null [31864]</title><link>http://altairiswebsecurity.codeplex.com/workitem/31864</link><description>&amp;#40;Please forgive me if I&amp;#8217;m missing something obvious &amp;#8212; I&amp;#39;m quite new to C&amp;#35; and ASP.NET&amp;#33;&amp;#41;&lt;br /&gt;&lt;br /&gt;When I run Membership.UpdateUser&amp;#40;user&amp;#41; when user.Comment &amp;#61;&amp;#61; null, I get a System.Configuration.Provider.ProviderException &amp;#8220;Error while performing database query.&amp;#8221; The InnerException is System.Data.SqlClient.SqlException &amp;#8220;The parameterized query &amp;#39;&amp;#40;&amp;#64;UserName nvarchar&amp;#40;5&amp;#41;,&amp;#64;Email nvarchar&amp;#40;18&amp;#41;,&amp;#64;Comment nvarchar&amp;#40;400&amp;#39; expects the parameter &amp;#39;&amp;#64;Comment&amp;#39;, which was not supplied.&amp;#8221;&lt;br /&gt;&lt;br /&gt;Membership.CreateUser sets the comment field to null, so it seems to me that the provider&amp;#8217;s query shouldn&amp;#8217;t be assuming it has a value.&lt;br /&gt;&lt;br /&gt;I&amp;#8217;m not 100&amp;#37; sure, but I believe UpdateUser wasn&amp;#8217;t doing this in 2.4.0, and has started in 2.4.1. It&amp;#8217;s trivial to ensure that the comment field isn&amp;#8217;t null, but it shouldn&amp;#8217;t be necessary.&lt;br /&gt;&lt;br /&gt;Thanks&amp;#33;&lt;br /&gt;Comments: ** Comment from web user: altair ** &lt;p&gt;Will be fixed in 2.4.2&lt;/p&gt;</description><author>altair</author><pubDate>Thu, 01 Dec 2011 12:32:40 GMT</pubDate><guid isPermaLink="false">Commented Issue: Membership.UpdateUser fails when user.Comment == null [31864] 20111201123240P</guid></item><item><title>Created Issue: Membership.UpdateUser fails when user.Comment == null [31864]</title><link>http://altairiswebsecurity.codeplex.com/workitem/31864</link><description>&amp;#40;Please forgive me if I&amp;#8217;m missing something obvious &amp;#8212; I&amp;#39;m quite new to C&amp;#35; and ASP.NET&amp;#33;&amp;#41;&lt;br /&gt;&lt;br /&gt;When I run Membership.UpdateUser&amp;#40;user&amp;#41; when user.Comment &amp;#61;&amp;#61; null, I get a System.Configuration.Provider.ProviderException &amp;#8220;Error while performing database query.&amp;#8221; The InnerException is System.Data.SqlClient.SqlException &amp;#8220;The parameterized query &amp;#39;&amp;#40;&amp;#64;UserName nvarchar&amp;#40;5&amp;#41;,&amp;#64;Email nvarchar&amp;#40;18&amp;#41;,&amp;#64;Comment nvarchar&amp;#40;400&amp;#39; expects the parameter &amp;#39;&amp;#64;Comment&amp;#39;, which was not supplied.&amp;#8221;&lt;br /&gt;&lt;br /&gt;Membership.CreateUser sets the comment field to null, so it seems to me that the provider&amp;#8217;s query shouldn&amp;#8217;t be assuming it has a value.&lt;br /&gt;&lt;br /&gt;I&amp;#8217;m not 100&amp;#37; sure, but I believe UpdateUser wasn&amp;#8217;t doing this in 2.4.0, and has started in 2.4.1. It&amp;#8217;s trivial to ensure that the comment field isn&amp;#8217;t null, but it shouldn&amp;#8217;t be necessary.&lt;br /&gt;&lt;br /&gt;Thanks&amp;#33;&lt;br /&gt;</description><author>GrantHeaslip</author><pubDate>Thu, 01 Dec 2011 03:48:45 GMT</pubDate><guid isPermaLink="false">Created Issue: Membership.UpdateUser fails when user.Comment == null [31864] 20111201034845A</guid></item><item><title>Closed Issue: Can not use, if Users table is called "User" [31246]</title><link>http://altairiswebsecurity.codeplex.com/workitem/31246</link><description>I think that is because User is reserved word in sql and it is not placed into &amp;#91;&amp;#93;.&lt;br /&gt;Comments: &lt;p&gt;I think you are right. I added code to automatically quote all entered table names. It would be included in next release, in meantime please download and compile latest version from source code tab.&lt;/p&gt;</description><author>altair</author><pubDate>Fri, 12 Aug 2011 12:01:58 GMT</pubDate><guid isPermaLink="false">Closed Issue: Can not use, if Users table is called "User" [31246] 20110812120158P</guid></item></channel></rss>