CodeVerge.Net Beta


   Explore    Item Entry    Members      Register  Login  
NEWSGROUP
.NET
Algorithms-Data Structures
Asp.Net
C Plus Plus
CSharp
Database
HTML
Javascript
Linq
Other
Regular Expressions
VB.Net
XML

Free Download:




Zone: > NEWSGROUP > Asp.Net Forum > general_asp.net.security Tags:
Item Type: NewsGroup Date Entered: 4/23/2007 2:06:11 AM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 7 Views: 23 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
8 Items, 1 Pages 1 |< << Go >> >|
Sonia25
Asp.Net User
Couldone Help Please withChangePassword Id setting up4/23/2007 2:06:11 AM

0/0

I setup my membershiprole and everthing works fine except the changepassword id. I can send email through the passwordrecovery but when i put the new password  that the system send the user i keep getting this. Password incorrect or New Password invalid. New Password length minimum: 7. Non-alphanumeric characters required: 1.

And whenever i try to  change the password with the password the user created  , i get this error the below .

The SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.7.0 Must issue a STARTTLS command first d22sm6862612and

Description

XiaoYong Dai –
Asp.Net User
Re: Couldone Help Please withChangePassword Id setting up4/25/2007 6:20:21 AM

0/0

Hi

I guess this error is due toTLS, The SMTP server on the server housing IIS (localhost) is configured to require TLS encryption.  I am not sure what SMTP service you have installed on the server.  If it is IIS SMTP service, go to the SMTP service property -> Delivery -> Outbound Security and make sure TLS encryption is unchecked.

Here is a good thread covering issues that come up on the forums

http://forums.asp.net/thread/1580731.aspx


Best Regards
XiaoYong Dai
Microsoft Online Community Support

Please remember to click ?Mark as Answer? on the post that helps you, and to click ?Unmark as Answer? if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
Sonia25
Asp.Net User
Re: Couldone Help Please withChangePassword Id setting up4/25/2007 1:29:11 PM

0/0

I'm using a gmail account and i dont have problem sending email .The error happen when the password is generated and i paste it in the changepassword id to change it. do i have config my provider by running the reg.sql cmd. i'm using an aspnetdb on a sql2000 hosting

Thanks

claybo
Asp.Net User
Re: Couldone Help Please withChangePassword Id setting up4/25/2007 5:21:14 PM

0/0

Are you using hashing to encrypt your password? If so you can't email a hashed password. The only way around this is to change the user's password to a known value, and then save the hash for the new passoword.
Sonia25
Asp.Net User
Re: Couldone Help Please withChangePassword Id setting up4/25/2007 6:04:15 PM

0/0

Yes i'm using hashed i'm supprise that no one here new that included myself that you cannot email hased password. i'm will change it

Thanks

claybo
Asp.Net User
Re: Couldone Help Please withChangePassword Id setting up4/25/2007 6:18:06 PM

0/0

You're welcome...Let me know it it works in the end for you...your options are plain text in the db which is not good, encrypt the password before storing it (better) and hashed (best security wise but like i said before you can't email a hashed password)

If you're storing critical info though like credit card numbers I'd still go with the hashed and forgo the emailing of the password.

XiaoYong Dai –
Asp.Net User
Re: Couldone Help Please withChangePassword Id setting up4/26/2007 2:59:49 AM

0/0

Hi

When you hash the password, it does not retreive the current password.  The system generates a new passwords, applies it to the user (storing it in the database) and then E-Mails the user the new password.

Best Regards
XiaoYong Dai
Microsoft Online Community Support

Please remember to click ?Mark as Answer? on the post that helps you, and to click ?Unmark as Answer? if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
Sonia25
Asp.Net User
Re: Couldone Help Please withChangePassword Id setting up4/27/2007 2:31:59 AM

0/0

I change the password format  to Clear by stated by claybo and it works. But when i  change  back to hashes the same error as stated  on my first post this my web.config

Thanks

<

authentication mode="Forms">

<

forms name="SqlAuthCookie"

timeout="10" />

</

authentication>

<

authorization>

<

allow roles="ADMIN" />

<

deny roles="ADMIN" />

 

<

allow users="*" />

</

authorization>

<

membership defaultProvider="SqlMembershipProvider" userIsOnlineTimeWindow="20">

<

providers>

<

clear/>

<

add name="SqlMembershipProvider"

type="System.Web.Security.SqlMembershipProvider"

connectionStringName="LocalSqlServer"

enablePasswordRetrieval="false"

enablePasswordReset="true"

requiresQuestionAndAnswer="True"

passwordFormat="Hashed"

minRequiredPasswordLength="7"

minRequiredNonalphanumericCharacters="0"

applicationName="/Lesson1" />

</

providers>

</

membership>

 

 

<

roleManager enabled="true" />

<

compilation debug="true" strict="false" explicit="true"/>
8 Items, 1 Pages 1 |< << Go >> >|


Free Download:


Web:
Couldone Help Please withChangePassword Id setting up - ASP.NET Forums Couldone Help Please withChangePassword Id setting up. Last post 04-26-2007 10: 31 PM by Sonia25. 7 replies. Sort Posts: ...
Couldone Help Please withChangePassword Id setting up - ASP.NET Forums Re: Couldone Help Please withChangePassword Id setting up ... Re: Couldone Help Please withChangePassword Id setting up ...
Couldone Help Please withChangePassword Id setting up - ASP.NET Forums Couldone Help Please withChangePassword Id setting up. Last post 04-26-2007 10: 31 PM by Sonia25. 7 replies. Sort Posts: ...
Couldone Help Please withChangePassword Id setting up - ASP.NET Forums Re: Couldone Help Please withChangePassword Id setting up ... Re: Couldone Help Please withChangePassword Id setting up ...
Couldone Help Please withChangePassword Id setting up - ASP.NET Forums Couldone Help Please withChangePassword Id setting up. Last post 04-26-2007 10: 31 PM by Sonia25. 7 replies. Sort Posts: ...
Couldone Help Please withChangePassword Id setting up - ASP.NET Forums Re: Couldone Help Please withChangePassword Id setting up ... Re: Couldone Help Please withChangePassword Id setting up ...
Couldone Help Please withChangePassword Id setting up - ASP.NET Forums Couldone Help Please withChangePassword Id setting up. Last post 04-26-2007 10: 31 PM by Sonia25. 7 replies. Sort Posts: ...
Couldone Help Please withChangePassword Id setting up - ASP.NET Forums Re: Couldone Help Please withChangePassword Id setting up ... Re: Couldone Help Please withChangePassword Id setting up ...
Couldone Help Please withChangePassword Id setting up - ASP.NET Forums Couldone Help Please withChangePassword Id setting up. Last post 04-26-2007 10: 31 PM by Sonia25. 7 replies. Sort Posts: ...
Couldone Help Please withChangePassword Id setting up - ASP.NET Forums Re: Couldone Help Please withChangePassword Id setting up ... Re: Couldone Help Please withChangePassword Id setting up ...




Search This Site:










surfbc: dotnetnuke - cms link notice & cool facts

how to put an image that references a image control in a master page

server side form submit

ado vs ado.net (part #1)

searching in database

dropdown list question!

how do you add another control?

child menu

mk.bat

dnn 2.1.2 error loading module

ssl (https protocol)

authentication works but not if i redirect to a directory?

infragistix controls and other questions

asp.net and languages

reading path and file help!

how do you encrypt a database field at the application level?

membership

problems with querystring retrieval in combination with rewritepath (in global.asax)

modifying a core module and re-packaging?

survey module and skin question

deployment problem & key_down event

how to make email address as username?

system.unauthorizedaccessexception

need help with hyper link

automatic transportation of data from internet-database to intranet-database

get project directory in asp.net

active directory group authentication to a web application

pointers?

asp.net, ssl, and handling online credit card transactions.

testing data accessapplication block/daab based objects using nunit and vs.net 2003

 
All Times Are GMT