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 October 5th, 2007, 01:43 PM
Registered User
Join Date: Oct 2007
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts

Hey MythicalMe.

I have made it through Chapter 4. Everything is working correctly except for the Admin menu link. If I run my app the Admin menu link is showing up before I log in even though I integrated the role management on the site map. I added the required "roles" attribute to the sitemapnode for the Admin link in the web.sitemap file. I also added the required sitemap provider in the web.config file and added the attribute securityTrimmingEnabled = true.

Is there something tricky about this feature that I missed while going through the first 4 chapters? Any assistance is greatly appreciated. Thanks!

Old October 5th, 2007, 04:08 PM
Registered User
Join Date: Nov 2006
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts


  Did you first create the different roles and passwords?


Old October 5th, 2007, 08:38 PM
Registered User
Join Date: Oct 2007
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts

Hey charleshua,

yes. What I figured out was that I either needed a <location> block in the web.config file restricting access to the Admin folder. Or, what I noticed in the Chapter 4 download from mythicalme was that the Admin folder had it's own web.config file with <location> blocks restricting access.

It made sense but, the book didn't talk about this Admin folder having it's own web.config file at this point nor did it mention anything about also needing <location> restrictions in order to get the roles functionality to work.


Old January 12th, 2008, 06:55 PM
Registered User
Join Date: Jun 2004
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts

Thanks a lot for the effort. I had a problem before in my code and the moment I got yours I knew what problem I had and I fixed it.

Now Why does all our code give messages for our Web.config tags? ex.

Could not find schema information for the element 'theBeerHouse'.

Old January 24th, 2009, 01:32 PM
Friend of Wrox
Join Date: Dec 2008
Posts: 119
Thanks: 26
Thanked 0 Times in 0 Posts

Hello MythicalMe:

I found your chapters very helpful in going through the book. I have one question that I still don't understand.

Why does your chapters show two CustomEvents projects, one named "TBH_CustomEvents" and the other, "TBHCustomEvents", where the Beerhouse only shows 1, named TBHCustomEvents in a TBH_CustomEvents folder.

I copied yours as best I could, creating two projects to do so, and it seems to work but I'm still not sure I did it correctly. Do you create two projects and then add one to the other?

Old April 16th, 2010, 07:11 PM
Authorized User
Join Date: Apr 2010
Posts: 50
Thanks: 3
Thanked 0 Times in 0 Posts
Default Whatever happened to chap by chap code after chap 5?

Why aren't those chap 6-10 downloadable?

Originally Posted by jminatel View Post
Thanks a million MythicalMe. You rock!
These chapter by chapter versions for 2-5 are now posted on Wrox.com at the book download page:

Jim Minatel
Senior Acquisitions Editor
Wiley Technology Publishing
WROX Press
Blog: http://wroxblog.typepad.com/
Jim's Book of the week: No book this week - Donate to the Red Cross!
Old April 19th, 2010, 09:38 AM
jminatel's Avatar
Wrox Staff
Points: 18,059, Level: 58
Points: 18,059, Level: 58 Points: 18,059, Level: 58 Points: 18,059, Level: 58
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
Join Date: May 2003
Posts: 1,906
Thanks: 62
Thanked 139 Times in 101 Posts

The book code was designed and tested to be installed all at once. After publication, many readers asked to have the code chapter by chapter so they could build the site one chapter at a time. A reader (MythicalMe) was kind enough to create the chapter by chapter versions for chapters 2-5 but no one has done the rest of the book that way.
In addition to the extra work, one reason is that as a teaching tool, there are a lot of similarities between chapters 6-10 and some of the early chapters, reapplying the same concepts to new parts of the site. So most readers who wanted this would get the most benefit from chapters 2-5.
Jim Minatel
Associate Publisher, WROX - A Wiley Brand
Did someone here help you? Click on their post!

Similar Threads
Thread Thread Starter Forum Replies Last Post
Chapter 2 - End of chapter exercises whizzkid1892 BOOK: Beginning PHP5, Apache, and MySQL Web Development ISBN: 978-0-7645-7966-0 1 July 30th, 2008 12:02 PM
chapter 7 - chapter 11 pelopito BOOK: Beginning CSS: Cascading Style Sheets for Web Design ISBN: 978-0-7645-7642-3 3 January 6th, 2008 11:40 AM
Generics chapter 12 difficult chapter i found ...? Larryz C# 2005 1 July 4th, 2007 09:40 PM

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