I have some code:
Dim u As MembershipUser
u = Membership.GetUser
u.Email = Me.txtEmail.Text
Membership.UpdateUser(u)
It's giving me this error:
ProviderException was unhandled by user code
The E-mail supplied is invalid
It's happening for the last line of code, UpdateUser.
u.Email is myaddress@mydomain.com, so it is valid.
Sometimes this happens, sometimes it doesn't.
Any ideas why?
Cowboy (Gregory A. Beamer) - 03 Jul 2007 19:59 GMT
Repeat email addresses?

Signature
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA
http://gregorybeamer.spaces.live.com
Co-author: Microsoft Expression Web Bible (upcoming)
************************************************
Think outside the box!
************************************************
>I have some code:
>
[quoted text clipped - 14 lines]
>
> Any ideas why?
VB Programmer - 03 Jul 2007 20:02 GMT
Hmmm I think the problem was the email address was a duplicate email
address.
Thanks y'all....
>I have some code:
>
[quoted text clipped - 14 lines]
>
> Any ideas why?