473,387 Members | 1,575 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,387 software developers and data experts.

Membership Services Problem

I am trying to add some profiles to an ASP.NET 2.0 application that uses the
membership services login control. I created a Sub for
Public Sub CreateUserWizard1_CreatedUser(ByVal sender As Object, ByVal e As
EventArgs)

But that event never fires. The new registration information is getting
recorded in aspnetdb_Membership, apnetdb_users and MemberInfo tables so I
know the user is being created. Also, if I put a break in the

Protected Sub CreateUserFinished(ByVal sender As Object, ByVal e As
System.Web.UI.WebControls.WizardNavigationEventArg s)

event I can see that that event fires?

Any ideas on why the "CreatedUser" event never fires?

Wayne
Feb 17 '06 #1
2 1059
DWS
Wayne much easier to use the ide select the control and the events from the
dropdownlists in the code editor.

Protected Sub CreateUserWizard1_CreatedUser(ByVal sender As Object, ByVal e
As System.EventArgs) Handles CreateUserWizard1.CreatedUser

End Sub
Good Luck
DWS
"Wayne Wengert" wrote:
I am trying to add some profiles to an ASP.NET 2.0 application that uses the
membership services login control. I created a Sub for
Public Sub CreateUserWizard1_CreatedUser(ByVal sender As Object, ByVal e As
EventArgs)

But that event never fires. The new registration information is getting
recorded in aspnetdb_Membership, apnetdb_users and MemberInfo tables so I
know the user is being created. Also, if I put a break in the

Protected Sub CreateUserFinished(ByVal sender As Object, ByVal e As
System.Web.UI.WebControls.WizardNavigationEventArg s)

event I can see that that event fires?

Any ideas on why the "CreatedUser" event never fires?

Wayne

Feb 17 '06 #2
Interesting. I actually deleted the sub and recreated it as you suggested
but it still never fired. Then I manually added the "Handles..." phrase and
now it fires.

Thanks for the help. I don't understand why the IDE creates the sub without
the handles phrase?

Wayne

"DWS" <DW*@discussions.microsoft.com> wrote in message
news:B2**********************************@microsof t.com...
Wayne much easier to use the ide select the control and the events from
the
dropdownlists in the code editor.

Protected Sub CreateUserWizard1_CreatedUser(ByVal sender As Object, ByVal
e
As System.EventArgs) Handles CreateUserWizard1.CreatedUser

End Sub
Good Luck
DWS
"Wayne Wengert" wrote:
I am trying to add some profiles to an ASP.NET 2.0 application that uses
the
membership services login control. I created a Sub for
Public Sub CreateUserWizard1_CreatedUser(ByVal sender As Object, ByVal e
As
EventArgs)

But that event never fires. The new registration information is getting
recorded in aspnetdb_Membership, apnetdb_users and MemberInfo tables so I
know the user is being created. Also, if I put a break in the

Protected Sub CreateUserFinished(ByVal sender As Object, ByVal e As
System.Web.UI.WebControls.WizardNavigationEventArg s)

event I can see that that event fires?

Any ideas on why the "CreatedUser" event never fires?

Wayne

Feb 17 '06 #3

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

Similar topics

2
by: artificer | last post by:
I want to create an Internet application that will be accessed by several pre-registered companies. All of those companies will be accessing the same database and the same application but each one...
7
by: Sameh Ahmed | last post by:
Hello there IsInrole gives ya the means to check if the current or impersonated user belongs to a specific windows role or group. is there a way to do the same without using ADSI to check if...
5
by: Vishal Gupta | last post by:
Hi This is Vishal this side.I have been trying to create a new sample website using the new Membership Provider Class. Now when I try to a create a new website and then hit on the Website...
0
by: Anonieko | last post by:
A lot of times, web hostings for ASPNET 2.0 will offer only MS Access DB for database for basic plan, a question often asked is how can I use the membership services, role, web parts services, etc ...
4
by: =?Utf-8?B?Q2hyaXMgQ2Fw?= | last post by:
I have been having some trouble with implementing a custom Membership Provider. We have a custom data store and business logic that pulls user information. I need some level of functionality...
3
by: GaryDean | last post by:
I have serveral applications now running that are using the MembershipProvider classes and they are each using their own security tables in SQL Server 2005 instead of the express databases - they...
1
by: =?Utf-8?B?ZVByaW50?= | last post by:
Asp.Net v2.0 I have created a web application and I am using it from a single website and database. The web application has different ‘portals’ – each independent and I am using the...
1
by: =?Utf-8?B?ZVByaW50?= | last post by:
Asp.Net v2.0 I have created a web application and I am using it from a single website and database. The web application has different ‘portals’ – each independent and I am using the...
3
by: dm3281 | last post by:
Hello -- I need to write an ASP.NET 2.0 application for our clients to use to login and verify file transmissions. Each client will need their own logon, in addition to a way to assign each...
8
by: Nick | last post by:
Hi there, Membership.GetNumberOfUsersOnline() works great the first time, then jumps up to the number of users registered in the system. I have tried enumerating through each user individually...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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,...

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.