Wrox Programmer Forums
|
BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0
This is the forum to discuss the Wrox book ASP.NET 2.0 Website Programming: Problem - Design - Solution by Marco Bellinaso; ISBN: 9780764584640
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old June 20th, 2007, 10:06 AM
Authorized User
 
Join Date: Jun 2007
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
Default Register Approval "a posteriori"

Hello,
I want to turn the Register in my site conditional to approval. In order to achieve that, I turn the "Disable CreatedUser" option to True, in the CreateUserWizard1, in the Register.aspx page.
The new user is in fact created and "not approved" (I saw that, after, in the manage users page), but when I (the user that is trying to register) am in the process of create the user, when I click the finish button, an Error page appears, saying:
...
set
{
this.SetPropertyValue("Newsletter", Value);
}
...
This property can´t be set by anonym users..

Can someone tell me some tips in order to do what I said.
Thank you very much.
All the best.
Luis J.



 
Old June 20th, 2007, 11:05 AM
Authorized User
 
Join Date: May 2007
Posts: 28
Thanks: 0
Thanked 0 Times in 0 Posts
Default

hello,

in your web.config file replace this line:

<add name="Newsletter" type="EB.Eurobourse.BLL.Newsletters.SubscriptionTy pe"/>

with :
<add name="Newsletter" type="EB.Eurobourse.BLL.Newsletters.SubscriptionTy pe" allowAnonymous="true"/>


 
Old June 21st, 2007, 09:54 AM
Authorized User
 
Join Date: Jun 2007
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi Mesdouri,
it worked.
Many thanks to you.
All the best.
Luis J.







Similar Threads
Thread Thread Starter Forum Replies Last Post
register global sirup_segar HTML Code Clinic 0 May 27th, 2007 09:59 PM
Register issue in IE Only iPagan BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 4 February 21st, 2007 05:45 AM
Register Globals Off cmiller Beginning PHP 4 August 18th, 2003 05:21 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.