473,507 Members | 3,112 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1495
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
3875
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
2429
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
3350
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
5221
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
2191
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
10354
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
4722
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
3899
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
3799
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
7221
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
7109
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
7372
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
7029
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7481
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
5619
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,...
1
5039
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
4702
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...
0
3190
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...

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.