Xossip

Go Back Xossip > Technology> Technical Help & Tutorials > ASP.net Membership , SQL help needed

Reply
 
Thread Tools Search this Thread
  #1  
Old 25th February 2017
alwaysoffline's Avatar
alwaysoffline alwaysoffline is offline
Custom title
 
Join Date: 1st January 2010
Posts: 2,060
Rep Power: 20 Points: 237
alwaysoffline is beginning to get noticed
ASP.net Membership , SQL help needed

ASP.net Membership , SQL help needed
Whenever a new user in created in Visual Studio using Asp.net membership , the password in SQL is unreadable / encrytped

How to make it normal.

Pls help

https://docs.microsoft.com/en-us/asp...-sql-server-cs


C:\Windows\Microsoft.NET\Framework\v2.0.50727\CONFIG\machine.config


"
enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="true" applicationName="/" requiresUniqueEmail="false" passwordFormat="Hashed" "

i want to make this passwordFormat= "Clear"


______________________________
Check Your FaceBook Privacy here

Reply With Quote
  #2  
Old 25th February 2017
alwaysoffline's Avatar
alwaysoffline alwaysoffline is offline
Custom title
 
Join Date: 1st January 2010
Posts: 2,060
Rep Power: 20 Points: 237
alwaysoffline is beginning to get noticed
______________________________
Check Your FaceBook Privacy here

Reply With Quote
  #3  
Old 27th February 2017
alwaysoffline's Avatar
alwaysoffline alwaysoffline is offline
Custom title
 
Join Date: 1st January 2010
Posts: 2,060
Rep Power: 20 Points: 237
alwaysoffline is beginning to get noticed
Gmail Error: System.net.mail.SmtpException 5.5.1 Authentication Error RESOLVED!

The following error occurs when you try to send email using Gmail credentials in your ASP.Net application.
Quote:
The SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.5.1 Authentication Required. Learn more at
An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

System.Net.Mail.SmtpException: The SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.5.1 Authentication Required. Learn more at
Solutions
1. Incorrect Gmail Username and/or password
First you must check whether the Username and Password supplied are correct.
Though Gmail allows you to sign in with Username instead complete Email but when sending email through code you need to pass the complete Email address as Username.

2. SSL setting
Gmail uses secure channel for sending emails and you need to enable SSL security while sending emails through your application
In .Net it can be enabled by setting EnableSsl setting of the SmtpClient to True.

3. Less Secure Apps setting
If you are sure that your Username and Password are correct, but you still get errors then it means that Gmail has blocked your application.

https://www.google.com/settings/security/lesssecureapps

Once you visit the link you need to modify the Less Secure Apps setting and Turn On access to Less Secure Apps

______________________________
Check Your FaceBook Privacy here

Last edited by alwaysoffline : 27th February 2017 at 12:16 PM.

Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT +5.5. The time now is 05:41 AM.
Page generated in 0.04057 seconds