[quoted text, click to view] On May 3, 7:05 pm, "R.A.M." <r_ahims...@poczta.onet.pl> wrote: > Hello, > I am writing my first ASP.NET application. I would like to change rules f= or > password to allow 4-letter passwords without nonalphanumeric characters. > Thus, I added the following section to my web.config: > > <membership defaultProvider=3D"SqlMembershipProvider" > userIsOnlineTimeWindow=3D"20"> > <providers> > > <add name=3D"SqlMembershipProvider" > type=3D"System.Web.Security.SqlMembershipProvider, System.Web, > Version=3D2.0.0.0, Culture=3Dneutral, PublicKeyToken=3Db03f5f7f11d50a3a" > connectionStringName=3D"SqlServices" enablePasswordRetrieval=3D"false" > enablePasswordReset=3D"true" requiresQuestionAndAnswer=3D"true" > applicationName=3D"/" requiresUniqueEmail=3D"false" passwordFormat=3D"Has= hed" > maxInvalidPasswordAttempts=3D"5" minRequiredPasswordLength=3D"4" > minRequiredNonalphanumericCharacters=3D"0" passwordAttemptWindow=3D"10" > passwordStrengthRegularExpression=3D"" /> > > </providers> > > </membership> > > The problem is that when I run ASP.NET Web Site Administration Tool to > create new user I receive: > > An error was encountered. Please return to the previous page and try agai= n=2E > The following message may help in diagnosing the problem: Exception has b= een > thrown by the target of an invocation. at > System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] > arguments, SignatureStruct& sig, MethodAttributes methodAttributes, > RuntimeTypeHandle typeOwner) at > System.RuntimeMethodHandle.InvokeMethodFast(Object target, Object[] > arguments, Signature sig, MethodAttributes methodAttributes, > RuntimeTypeHandle typeOwner) at > System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags > invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Bool= ean > skipVisibilityChecks) at System.Reflection.RuntimeMethodInfo.Invoke(Object > obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, > CultureInfo culture) at > System.Web.Administration.WebAdminMembershipProvider.CallWebAdminMembersh= ip=ADProviderHelperMethodOutParams(String > methodName, Object[] parameters, Type[] paramTypes) at > System.Web.Administration.WebAdminMembershipProvider.CreateUser(String > username, String password, String email, String passwordQuestion, String > passwordAnswer, Boolean isApproved, Object providerUserKey, > MembershipCreateStatus& status) at > System.Web.UI.WebControls.CreateUserWizard.AttemptCreateUser() at > System.Web.UI.WebControls.CreateUserWizard.OnNextButtonClick(WizardNaviga= ti=ADonEventArgs > e) at System.Web.UI.WebControls.Wizard.OnBubbleEvent(Object source, > EventArgs e) at > System.Web.UI.WebControls.CreateUserWizard.OnBubbleEvent(Object source, > EventArgs e) at > System.Web.UI.WebControls.Wizard.WizardChildTable.OnBubbleEvent(Object > source, EventArgs args) at System.Web.UI.Control.RaiseBubbleEvent(Object > source, EventArgs args) at > System.Web.UI.WebControls.Button.OnCommand(CommandEventArgs e) at > System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)= at > System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.Rais= eP=ADostBackEvent(String > eventArgument) at > System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, > String eventArgument) at > System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) at > System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoi= nt, > Boolean includeStagesAfterAsyncPoint) > > Could you help me please to change web.config? > Thank you > /RAM/
http://www.dotnetjunkies.com/WebLog/rohanthomas/archive/2005/09/12/132489.a= spx
Hello, I am writing my first ASP.NET application. I would like to change rules for password to allow 4-letter passwords without nonalphanumeric characters. Thus, I added the following section to my web.config: <membership defaultProvider="SqlMembershipProvider" userIsOnlineTimeWindow="20"> <providers> <add name="SqlMembershipProvider" type="System.Web.Security.SqlMembershipProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" connectionStringName="SqlServices" enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="true" applicationName="/" requiresUniqueEmail="false" passwordFormat="Hashed" maxInvalidPasswordAttempts="5" minRequiredPasswordLength="4" minRequiredNonalphanumericCharacters="0" passwordAttemptWindow="10" passwordStrengthRegularExpression="" /> </providers> </membership> The problem is that when I run ASP.NET Web Site Administration Tool to create new user I receive: An error was encountered. Please return to the previous page and try again. The following message may help in diagnosing the problem: Exception has been thrown by the target of an invocation. at System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner) at System.RuntimeMethodHandle.InvokeMethodFast(Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner) at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks) at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) at System.Web.Administration.WebAdminMembershipProvider.CallWebAdminMembershipProviderHelperMethodOutParams(String methodName, Object[] parameters, Type[] paramTypes) at System.Web.Administration.WebAdminMembershipProvider.CreateUser(String username, String password, String email, String passwordQuestion, String passwordAnswer, Boolean isApproved, Object providerUserKey, MembershipCreateStatus& status) at System.Web.UI.WebControls.CreateUserWizard.AttemptCreateUser() at System.Web.UI.WebControls.CreateUserWizard.OnNextButtonClick(WizardNavigationEventArgs e) at System.Web.UI.WebControls.Wizard.OnBubbleEvent(Object source, EventArgs e) at System.Web.UI.WebControls.CreateUserWizard.OnBubbleEvent(Object source, EventArgs e) at System.Web.UI.WebControls.Wizard.WizardChildTable.OnBubbleEvent(Object source, EventArgs args) at System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args) at System.Web.UI.WebControls.Button.OnCommand(CommandEventArgs e) at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) at System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) Could you help me please to change web.config? Thank you /RAM/
But I don' want "use a password meeting the requirements of the password settings.". I want to have 4-letter paswords without nonaplhanumeric characters! That's why I changed my web.config, but I don't know what's wrong. Please help. /RAM/ Uzytkownik "Alexey Smirnov" <alexey.smirnov@gmail.com> napisal w wiadomosci news:1178221040.914329.287340@c35g2000hsg.googlegroups.com... [quoted text, click to view] On May 3, 7:05 pm, "R.A.M." <r_ahims...@poczta.onet.pl> wrote: > Hello, > I am writing my first ASP.NET application. I would like to change rules > for > password to allow 4-letter passwords without nonalphanumeric characters. > Thus, I added the following section to my web.config: > > <membership defaultProvider="SqlMembershipProvider" > userIsOnlineTimeWindow="20"> > <providers> > > <add name="SqlMembershipProvider" > type="System.Web.Security.SqlMembershipProvider, System.Web, > Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" > connectionStringName="SqlServices" enablePasswordRetrieval="false" > enablePasswordReset="true" requiresQuestionAndAnswer="true" > applicationName="/" requiresUniqueEmail="false" passwordFormat="Hashed" > maxInvalidPasswordAttempts="5" minRequiredPasswordLength="4" > minRequiredNonalphanumericCharacters="0" passwordAttemptWindow="10" > passwordStrengthRegularExpression="" /> > > </providers> > > </membership> > > The problem is that when I run ASP.NET Web Site Administration Tool to > create new user I receive: > > An error was encountered. Please return to the previous page and try > again. > The following message may help in diagnosing the problem: Exception has > been > thrown by the target of an invocation. at > System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] > arguments, SignatureStruct& sig, MethodAttributes methodAttributes, > RuntimeTypeHandle typeOwner) at > System.RuntimeMethodHandle.InvokeMethodFast(Object target, Object[] > arguments, Signature sig, MethodAttributes methodAttributes, > RuntimeTypeHandle typeOwner) at > System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags > invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, > Boolean > skipVisibilityChecks) at System.Reflection.RuntimeMethodInfo.Invoke(Object > obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, > CultureInfo culture) at > System.Web.Administration.WebAdminMembershipProvider.CallWebAdminMembershipProviderHelperMethodOutParams(String > methodName, Object[] parameters, Type[] paramTypes) at > System.Web.Administration.WebAdminMembershipProvider.CreateUser(String > username, String password, String email, String passwordQuestion, String > passwordAnswer, Boolean isApproved, Object providerUserKey, > MembershipCreateStatus& status) at > System.Web.UI.WebControls.CreateUserWizard.AttemptCreateUser() at > System.Web.UI.WebControls.CreateUserWizard.OnNextButtonClick(WizardNavigationEventArgs > e) at System.Web.UI.WebControls.Wizard.OnBubbleEvent(Object source, > EventArgs e) at > System.Web.UI.WebControls.CreateUserWizard.OnBubbleEvent(Object source, > EventArgs e) at > System.Web.UI.WebControls.Wizard.WizardChildTable.OnBubbleEvent(Object > source, EventArgs args) at System.Web.UI.Control.RaiseBubbleEvent(Object > source, EventArgs args) at > System.Web.UI.WebControls.Button.OnCommand(CommandEventArgs e) at > System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) > at > System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String > eventArgument) at > System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, > String eventArgument) at > System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) at > System.Web.UI.Page.ProcessRequestMain(Boolean > includeStagesBeforeAsyncPoint, > Boolean includeStagesAfterAsyncPoint) > > Could you help me please to change web.config? > Thank you > /RAM/
http://www.dotnetjunkies.com/WebLog/rohanthomas/archive/2005/09/12/132489.aspx
Don't see what you're looking for? Try a search.
|