Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
 
 
Thread Tools Display Modes
  #1 (permalink)  
Old June 20th, 2007, 10:06 AM
Authorized User
 
Join Date: Jun 2007
Location: , , Portugal.
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.



  #2 (permalink)  
Old June 20th, 2007, 11:05 AM
Authorized User
 
Join Date: May 2007
Location: , , .
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"/>


  #3 (permalink)  
Old June 21st, 2007, 09:54 AM
Authorized User
 
Join Date: Jun 2007
Location: , , Portugal.
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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


 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

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 04:45 AM
Register Globals Off cmiller Beginning PHP 4 August 18th, 2003 05:21 PM



All times are GMT -4. The time now is 10:11 PM.


Powered by vBulletin®
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.