G
Guest
I have a VS2005 project on a winxp pro with IIS installed on it. I am using a
SQL Server source for my membership and roles information.
I created a Login.aspx page, a Default.aspx, a Thankyou.aspx page and a
AddUser.aspx page.
The Login.aspx page has a login control. No changes other than saying the
destinationURL is ~/Default.aspx.
THe ThankYou.aspx page just has text saying thank you.
The Default.aspx just has a link to Adduser.aspx.
The AddUser.aspx page just has the CreateUserWizard control on it. Turned
off the requireemail option and set the ContinueDestinationURL to
~/ThankYou.aspx.
Forms Authentication for the site has been turned on. I have denied
anonymous users. Everything works fine at this point, the progession works as
expected:
Login.aspx->Default.aspx->AddUser.aspx->ThankYou.aspx.
Now I upgrade the site to require that only users of a certain role can
access the site and pages within. I add access rules to the root directory of
the site to (in order)
Allow users of role X
Deny All Users
Deny Anonymous Users
This is where the AddUser page starts messing up.
Login.aspx->Default.aspx->AddUser.aspx->Login.aspx?ReturnUrl=%2fTest%2fAddUser.aspx
After the user is created and you press the continue button, it goes to the
login screen. Why is this? Is it a bug with CreateUserWizard?
SQL Server source for my membership and roles information.
I created a Login.aspx page, a Default.aspx, a Thankyou.aspx page and a
AddUser.aspx page.
The Login.aspx page has a login control. No changes other than saying the
destinationURL is ~/Default.aspx.
THe ThankYou.aspx page just has text saying thank you.
The Default.aspx just has a link to Adduser.aspx.
The AddUser.aspx page just has the CreateUserWizard control on it. Turned
off the requireemail option and set the ContinueDestinationURL to
~/ThankYou.aspx.
Forms Authentication for the site has been turned on. I have denied
anonymous users. Everything works fine at this point, the progession works as
expected:
Login.aspx->Default.aspx->AddUser.aspx->ThankYou.aspx.
Now I upgrade the site to require that only users of a certain role can
access the site and pages within. I add access rules to the root directory of
the site to (in order)
Allow users of role X
Deny All Users
Deny Anonymous Users
This is where the AddUser page starts messing up.
Login.aspx->Default.aspx->AddUser.aspx->Login.aspx?ReturnUrl=%2fTest%2fAddUser.aspx
After the user is created and you press the continue button, it goes to the
login screen. Why is this? Is it a bug with CreateUserWizard?