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

CreateUserWizard fails to fire Deactivate event handler if web page is placed in a subfolder

A CreateUserWizard with one intermediate step (select role) works OK in the
root folder, but fails to fire the Deactivate event handler for the
intermediate step when the web page is moved to a subfolder. Any ideas?

Thanks,

Keith
Jun 7 '06 #1
1 1486
I found the cause, but not the solution. The CreateUser page is located in a
folder that is only accessable by the admin role. This seems necessary,
since it doesn't make much sense to allow users to select their own roles.
So if a user from the Admin role is creating an account for someone else,
and LogInCreatedUser set to True, the user is logged in before a Role is
established which eliminates access rights to complete the process.

it doesn't work to set LogInCreatedUser to False, because the Wizard uses
User.Identity.Name when assigning roles, so it attempts to assign the
selected Role to the Admin person who is setting up the account and that
throws an exception. What is needed is a way to retrieve the name of the
newly created user and use that name instead of User.Identity.Name for
assigning the selected role. If someone can tell me how to get the user name
entered in Wizard step 1 and make it accessable in Wizard step 2, that would
solve my dilemma.

Thanks,

Keith
"keithb" <kb******@dslextreme.com> wrote in message
news:uo**************@TK2MSFTNGP04.phx.gbl...
A CreateUserWizard with one intermediate step (select role) works OK in the
root folder, but fails to fire the Deactivate event handler for the
intermediate step when the web page is moved to a subfolder. Any ideas?

Thanks,

Keith

Jun 8 '06 #2

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

Similar topics

2
by: Sam Miller | last post by:
Hi, I have a button event that won't fire. I left it on Friday and it worked fine. I came back in on Monday and it won't fire. I tried putting another button and just putting a...
7
by: Gordon Smith | last post by:
I have four (4) ASP.NET Web applications/Web sites on a IIS/6 - Windows Server 2003 production server. 3 of them work fine. I just installed the 4th one and it's Application_Start event is not...
6
by: Steve Booth | last post by:
I have a web form with a button and a placeholder, the button adds a user control to the placeholder (and removes any existing controls). The user control contains a single button. I have done all...
1
by: Raventhorn | last post by:
I am trying, as I can see many are, to avoid the CreateUserWizard's CreateUser step from creating the user until I am ready to do it. I have a rather complex registration because I have various...
6
by: Shimon Sim | last post by:
I have Panel control on the page. I am handling Init event for it. It doesn't seem to fire at all. Why? Thank you Shimon.
5
by: Verde | last post by:
This is admittedly an apparently odd request... but please indulge me if you don't mind: Suppose I have two <asp:Button.../> on a page (Button1 and Button2). User clicks Button1 and triggers a...
19
by: Daniela Roman | last post by:
Hello, I try to fire an event under a button click event and maybe anybody can give a clue please. I have let's say a WEB grid with PageIndexChanged event: private void...
2
by: John Kotuby | last post by:
Hi guys, I am converting a rather complicated database driven Web application from classic ASP to ASP.NET 2.0 using VB 2005 as the programming language. The original ASP application works quite...
4
by: gurufordy | last post by:
Hello. Trying to use the ASP.net user functionality but it keeps failing on me. I have created a login and registration page for my site. When you fill in the registration form it should send a...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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...

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.