A
Albert
Hi,
Hi,
i want to create users with the control CreateUserWizard, but by only
entering the username. That's why i use the property RequireEmail="false"
and requiresUniqueEmail="false" in web.config.
In the CreateUserWizard1_CreatingUser event, the emailaddress is then
programmatically made by adding "@xxx.zz" to the username.
But when running this, i still get the error "Could not find stored
procedure 'dbo.aspnet_CheckSchemaVersion'"
How can i avoid that error and create users only with entering the username?
Thanks for help.
Albert
<asp:CreateUserWizard ID="CreateUserWizard1" RequireEmail="false"
AutoGeneratePassword="true" runat="server" >
<WizardSteps>
<asp:CreateUserWizardStep ID="CreateUserWizardStep1"
runat="server">
<ContentTemplate>
<asp:Label ID="UserNameLabel" Text="user:" runat="server"
AssociatedControlID="UserName">
</asp:Label>
<asp:TextBox ID="UserName" runat="server"></asp:TextBox>
</ContentTemplate>
</asp:CreateUserWizardStep>
</WizardSteps>
</asp:CreateUserWizard>
web.config:
-----------
<membership>
<providers>
<remove name="AspNetSqlMembershipProvider"/>
<add name="AspNetSqlMembershipProvider"
type="System.Web.Security.SqlMembershipProvider, System.Web,
Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
connectionStringName="enq"
enablePasswordRetrieval="false"
enablePasswordReset="true"
requiresQuestionAndAnswer="false"
applicationName="/"
requiresUniqueEmail="false"
passwordFormat="Hashed"
minRequiredPasswordLength="5"
minRequiredNonalphanumericCharacters="0"
passwordStrengthRegularExpression=""/>
</providers>
</membership>
Hi,
i want to create users with the control CreateUserWizard, but by only
entering the username. That's why i use the property RequireEmail="false"
and requiresUniqueEmail="false" in web.config.
In the CreateUserWizard1_CreatingUser event, the emailaddress is then
programmatically made by adding "@xxx.zz" to the username.
But when running this, i still get the error "Could not find stored
procedure 'dbo.aspnet_CheckSchemaVersion'"
How can i avoid that error and create users only with entering the username?
Thanks for help.
Albert
<asp:CreateUserWizard ID="CreateUserWizard1" RequireEmail="false"
AutoGeneratePassword="true" runat="server" >
<WizardSteps>
<asp:CreateUserWizardStep ID="CreateUserWizardStep1"
runat="server">
<ContentTemplate>
<asp:Label ID="UserNameLabel" Text="user:" runat="server"
AssociatedControlID="UserName">
</asp:Label>
<asp:TextBox ID="UserName" runat="server"></asp:TextBox>
</ContentTemplate>
</asp:CreateUserWizardStep>
</WizardSteps>
</asp:CreateUserWizard>
web.config:
-----------
<membership>
<providers>
<remove name="AspNetSqlMembershipProvider"/>
<add name="AspNetSqlMembershipProvider"
type="System.Web.Security.SqlMembershipProvider, System.Web,
Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
connectionStringName="enq"
enablePasswordRetrieval="false"
enablePasswordReset="true"
requiresQuestionAndAnswer="false"
applicationName="/"
requiresUniqueEmail="false"
passwordFormat="Hashed"
minRequiredPasswordLength="5"
minRequiredNonalphanumericCharacters="0"
passwordStrengthRegularExpression=""/>
</providers>
</membership>