Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / July 2007

Tip: Looking for answers? Try searching our database.

Wierd ProviderException - email supplied is invalid

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
VB Programmer - 03 Jul 2007 19:49 GMT
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?

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.