View Single Post
  #4 (permalink)  
Old March 15th, 2009, 06:19 AM
Imar's Avatar
Imar Imar is offline
Wrox Author
Points: 71,164, Level: 100
Points: 71,164, Level: 100 Points: 71,164, Level: 100 Points: 71,164, Level: 100
Activity: 100%
Activity: 100% Activity: 100% Activity: 100%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 16,957
Thanks: 79
Thanked 1,556 Times in 1,533 Posts
Default

I did of course look at your notes,but the error is coming from the same code that comes with your code so it had to be in there somewhere. It's often a matter of eliminating problems.

Anyway, the problem is in the way you have configured the provider. I'm pretty sure that you have something like requiresUniqueEmail="true" in your web.config; either directly or by inheriting it from system files.

Since this setup requires you to pass a (unique) e-mail address, you get your error when you don't supply an address at all. Simply set it to False and it should work.

Hope this helps,

BTW: were you able to solve the problems with the replies from Lee and me? Some follow up is always appreciated.... ;-)

Imar
__________________
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Follow me on Twitter

Author of Beginning ASP.NET 4.5 : in C# and VB, Beginning ASP.NET Web Pages with WebMatrix
and Beginning ASP.NET 4 : in C# and VB.
Did this post help you? Click the button below this post to show your appreciation!