I haven't look at this kit in a while, but it looks like you are trying to create a new ad for a member that does not exist in the Members table. Check the memberId.
I have downloaded the vb version of this kit couple of weeks ago & trying to play around since than; The issue I m having is, after every 2-3days the psswd doesn't seems to be accepted to let me loggin as says "Your login attempt was not successful. Please
try again." I went to asp.net configuration site & deleted the admin & created another to let me login again... Please advise....
Make sure you have the machine key properly set. It is used for encryption of the password. On the local you may have different key than in production... It is in web.config, you should set it...
indeed this is very strange. What are your membership provider settings in web.config? Maybe you have set password to expire? Please copy your web.config provider settings here
voodoo9055
Participant
1873 Points
438 Posts
Re: What is happening?
Jun 26, 2008 03:28 PM|LINK
I haven't look at this kit in a while, but it looks like you are trying to create a new ad for a member that does not exist in the Members table. Check the memberId.
intechspecia...
Member
42 Points
31 Posts
Re: What is happening?
Jun 29, 2008 06:27 AM|LINK
Doesn't the Members table automatically update when you create an user?
I am getting the exact same error, and was logged in as the administrator when the error occured.
Asp.net? I am not sure that I understand, please speak slowly.
learner01
Member
36 Points
18 Posts
Re: password get expired every after 2-3 days!
Jul 15, 2008 06:05 PM|LINK
Hi there;
I have downloaded the vb version of this kit couple of weeks ago & trying to play around since than; The issue I m having is, after every 2-3days the psswd doesn't seems to be accepted to let me loggin as says "Your login attempt was not successful. Please try again." I went to asp.net configuration site & deleted the admin & created another to let me login again... Please advise....
rfurdzik
Contributor
3439 Points
1731 Posts
Re: password get expired every after 2-3 days!
Jul 15, 2008 06:55 PM|LINK
Hey,
Make sure you have the machine key properly set. It is used for encryption of the password. On the local you may have different key than in production... It is in web.config, you should set it...
<machineKey validationKey="SOMENUMBERSHERE" decryptionKey="SOMENUMBERSHERE" validation="SHA1"/></
system.web>Buy Sell Domains - DomainsHeat.com
Free ASP.NET controls: Youtube Web Control and Ajax Zoom Control
learner01
Member
36 Points
18 Posts
Re: password get expired every after 2-3 days!
Jul 15, 2008 07:48 PM|LINK
Hi
Where do I find this line in web.config; tried to 'find' with different phrases but don't see it on web.config, VB vers. whats the line number?
darkknight18...
Contributor
2674 Points
1040 Posts
Re: password get expired every after 2-3 days!
Jul 15, 2008 10:13 PM|LINK
That line mentioned above is added.
I had zero problems with the kit out of the box, you shouldn't need to add that.
Please remember to mark the post as answer that solves your issue.
This will be greatly benificial for other users.
learner01
Member
36 Points
18 Posts
Re: password get expired every after 2-3 days!
Jul 16, 2008 03:50 AM|LINK
If thats the case than why its still occuring to me? (any idea?) I still would like to know what the line no. is & where?
Appreciated!
darkknight18...
Contributor
2674 Points
1040 Posts
Re: password get expired every after 2-3 days!
Jul 16, 2008 04:21 PM|LINK
I would bet that your problem is opperator error.
By default you have to use a password that is alphanumeric and at least one non-alphanumeric.
And if you enter the wrong pass too many times, it will lock the user out.
I would suggest two things.
1. find this line in your web.config, and replace it with the code below.
<membership><
providers> <clear/><
add name="AspNetSqlMembershipProvider" type="System.Web.Security.SqlMembershipProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" connectionStringName="LocalSqlServer" enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="true" applicationName="/" requiresUniqueEmail="true" passwordFormat="Hashed" maxInvalidPasswordAttempts="5" minRequiredPasswordLength="6" minRequiredNonalphanumericCharacters="0" passwordAttemptWindow="10" passwordStrengthRegularExpression=""/> </providers></
membership> This will make it NOT require the non-alphanumeric, which is easier.2. When you delete a user it removes it from the ASPNETDB, but it does not remove them from the classifieds_members database table.
I would recommend go into the members table and delete in manually from there.
Try out your new username with a simple can't screw up password.
Good Luck
Please remember to mark the post as answer that solves your issue.
This will be greatly benificial for other users.
learner01
Member
36 Points
18 Posts
Re: password get expired every after 2-3 days!
Jul 17, 2008 02:35 PM|LINK
Hello freind;
I already did these both things :(, I have no clue why the password doesn't get accepted after 2-3dyas!!!
I haven't change anything in the original coding much than these little things yet!
any suggestion would be much much appreciated!
rfurdzik
Contributor
3439 Points
1731 Posts
Re: password get expired every after 2-3 days!
Jul 17, 2008 03:36 PM|LINK
indeed this is very strange. What are your membership provider settings in web.config? Maybe you have set password to expire? Please copy your web.config provider settings here
Buy Sell Domains - DomainsHeat.com
Free ASP.NET controls: Youtube Web Control and Ajax Zoom Control