473,412 Members | 2,599 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,412 software developers and data experts.

Wierd ProviderException - email supplied is invalid

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 my*******@mydomain.com, so it is valid.

Sometimes this happens, sometimes it doesn't.

Any ideas why?
Jul 3 '07 #1
2 3312
Repeat email addresses?

--
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!
************************************************
"VB Programmer" <do**********@somewhere.comwrote in message
news:eG**************@TK2MSFTNGP02.phx.gbl...
>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 my*******@mydomain.com, so it is valid.

Sometimes this happens, sometimes it doesn't.

Any ideas why?

Jul 3 '07 #2
Hmmm I think the problem was the email address was a duplicate email
address.

Thanks y'all....

"VB Programmer" <do**********@somewhere.comwrote in message
news:eG**************@TK2MSFTNGP02.phx.gbl...
>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 my*******@mydomain.com, so it is valid.

Sometimes this happens, sometimes it doesn't.

Any ideas why?

Jul 3 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: vool | last post by:
Hi all, I've got a really wierd problem here. When I access a web page that adds information to a database on a PC running XP Pro it works as it should. When I access the same page from a...
5
by: Razzbar | last post by:
I'm using a div as a floating dialog box. I'd rather use a popup window, but due to all the popup blockers in use, I have to use another method, a div that has absolute positioning. The damn...
0
by: David Betteridge | last post by:
Hi, I have four windows services written in C#, which use late binding to create visual basic objects which listen to message queues. These services run as a named local administrator account who...
4
by: Mike | last post by:
Hi all, In my recent ASP.NET 2.0 appl, I need to verify that the supplied email address is valid or not. So, here's my situation: - In my <profilearea, I created <isVerifiedproperty. - Suppose a...
16
by: matt | last post by:
I have used some free code for listing files for download, but I want to send an email to the administrator when the file has been downloaded. I have got some code in here that does it, but it will...
1
by: guoxin | last post by:
Hi All, May i know how to rectify the following php error? Thanks folks Warning: Invalid argument supplied for foreach() in /home/alan/do_add-user.php on line 36 do_add-user.php.php on...
2
by: Cirene | last post by:
My ASP.NET project builds fine (VS2008). I added a new web deployment project. When I try to build it I get: Data at the root level is invalid. Line1, position 1. (The file is web.config,...
3
by: JRough | last post by:
I want to save two variables in a $_SESSION for use in another page: $_SESSION = $mark; $_SESSION = $num; then on the other page I did this to get the value: $mark =$_SESSION; $num =...
4
by: mattehz | last post by:
Hey there, I am trying to upload old source files and came across these errors: Warning: Invalid argument supplied for foreach() in /home/mattehz/public_html/acssr/trunk/inc_html.php on line 59...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.