an ASP.NET Open Source CMS & eCommerce platform
Search:
Last Post 4/28/2011 11:07:32 AM By lukezy. 6 replies.
4/27/2011 9:32:18 AM
Bahram
Posts: 878
Joined: 12/8/2008
Location:Vancouver, BC Canada
Change a User's email
 In Admin section, when I change a user's email. An error will raise : 
 
The email supplied is invalid .
 
 
Is it correct?
 
 
4/27/2011 9:42:30 AM
lukezy
Posts: 2109
Joined: 6/12/2007
Location:WA, US
Re: Change a User's email
Not clear what your question is. Check if the email is in the correct format.
DotShoppingCart Staff
4/28/2011 10:00:49 AM
Bahram
Posts: 878
Joined: 12/8/2008
Location:Vancouver, BC Canada
Re: Change a User's email
 I will send you error message.
4/28/2011 10:10:33 AM
lukezy
Posts: 2109
Joined: 6/12/2007
Location:WA, US
Re: Change a User's email
Next time please post error message here.
 
Message : The E-mail supplied is invalid.
Source : System.Web
Help link :
Data : System.Collections.ListDictionaryInternal
TargetSite : Void UpdateUser(System.Web.Security.MembershipUser)
Stack Trace : at
System.Web.Security.SqlMembershipProvider.UpdateUser(MembershipUser user)
 
 
DotShoppingCart Staff
4/28/2011 10:11:23 AM
lukezy
Posts: 2109
Joined: 6/12/2007
Location:WA, US
Re: Change a User's email
As I said, it's either bad email that you passed in or it's already existing in the database.
DotShoppingCart Staff
4/28/2011 11:02:37 AM
Bahram
Posts: 878
Joined: 12/8/2008
Location:Vancouver, BC Canada
Re: Change a User's email
 That means Two customers can not have the same email. But why the proper error message can not be captured  and showed instead of General error message.
 
4/28/2011 11:07:32 AM
lukezy
Posts: 2109
Joined: 6/12/2007
Location:WA, US
Re: Change a User's email
Good question. You should be asking Microsoft instead. It's from System.Web.Security.SqlMembershipProvider .
DotShoppingCart Staff