473,383 Members | 2,005 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,383 software developers and data experts.

Forget password not working with membership?

I'm using ASP.NET 2.0 with roles/memberships. I have one page with
these controls:

- Login
- PasswordRecovery
- CreateUserWizard

After creating a user, I try to login but get an error saying the
attempt was not successful. After a few tries, I try the password
recovery. It sends me a password, which I try. I get the same message
as above. I do see my users in the database.

Any ideas why this isn't working?

Thanks,
Brett

Jan 27 '07 #1
2 1151
It seems deleting the login control and adding it back fixes this. I
just can't figure out how to make it stop redirecting to default.aspx
after logging in. Although I do have a different page setup in IIS and
web.config.

Jan 27 '07 #2
just can't figure out how to make it stop redirecting to default.aspx
after logging in. Although I do have a different page setup in IIS and
web.config.

Default.aspx is the default page (unless returnUrl parameter is there).
Update the value of "DestinationPageUrl" property of the Login control.

--
Happy Hacking,
Gaurav Vaish | www.mastergaurav.com
www.edujini-labs.com
http://eduzine.edujini-labs.com
-----------------------------------------
Jan 27 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Morgan Roderick | last post by:
Hi How do I control the password complexity for users registering themselves in a webapp using Membership? From http://beta.asp.net/QUICKSTART/aspnet/doc/security/membership.aspx "Note that...
0
by: paulmac106 | last post by:
Hi, I was able to get the login control to work with my custom membership provider (a sql db table), but the "remember me" function and the function that will send a user their forgotten...
1
by: Henry Lee | last post by:
Hi, Our user complain about the strong password setting makes them hard to remember for ASP 2.0 web. Is there anyway to disable the setting which requires users must use strong password like #$%...
5
by: John | last post by:
Hi I am trying to set a new password using the following code; Dim u As MembershipUser = Membership.GetUser(UserName) Dim OldPassword As String OldPassword = u.GetPassword If...
1
by: Ben | last post by:
Hi, When an anonymous user has created an new account (with the CreateUserWizard control), i want to let asp.net generate a password and to send it to the address of the email provided by the...
3
by: Paul | last post by:
Hello All, I am working through the SAMS "ASP.NET 2.0 - Unleased" book to teach myself ASP.NET. It is a great book, but Chapter 21 "Using ASP.NET Membership" is causing me problems - or maybe I...
3
by: =?Utf-8?B?QXhlbCBEYWhtZW4=?= | last post by:
Hi, we've got a strange problem here: We've created an ASP.NET 2.0 web application using Membership.ValidateUser() to manually authenticate users with our website. The problem is: If the...
1
by: xpnctoc | last post by:
A while ago I posted a message regarding an ASP.NET (.NET 2.0) webstie I am working on for a client, which utilizes the Membership API. The problem was that a seemingly random contingent of the 400+...
3
by: Cirene | last post by:
Using ASP.NET built in membership. I'm creating an "admin interface" to my site. Thru code, how can I reset someones password without knowing the old/current one?
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.