Wrox Programmer Forums
BOOK: Beginning ASP.NET 2.0 BOOK VB ISBN: 978-0-7645-8850-1; C# ISBN: 978-0-470-04258-8
This is the forum to discuss the Wrox book Beginning ASP.NET 2.0 by Chris Hart, John Kauffman, David Sussman, Chris Ullman; ISBN: 9780764588501
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning ASP.NET 2.0 BOOK VB ISBN: 978-0-7645-8850-1; C# ISBN: 978-0-470-04258-8 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 February 12th, 2006, 08:09 PM
Registered User
Join Date: Jan 2006
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default Ch04 TIO Pg 111 Error

When I click the the Administration link, I get the below error:
"An error was encountered. Please return to the previous page and try again." The error message does not help with the problme

If I do the same thing for CH04 in the End folder, I DO NOT get the error.

If I delete CH04 in Begin and then copy all the files in Ch04 end to Ch04 begin and click the Administration link, I still get the error.

Any idea of what could be wrong.



Old February 13th, 2006, 12:36 PM
Friend of Wrox
Join Date: Jun 2003
Posts: 1,998
Thanks: 0
Thanked 3 Times in 3 Posts


What is the code?

Old February 14th, 2006, 01:03 AM
Registered User
Join Date: Jan 2006
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts

Brian, the code was entered per the book and I was trying to use the Web Admin tool to add the users and I would get the error messsage when I clicked in the tool. The tool would not open and I would see the error message.

If I created a new web site and that let VWD create the files and create a default.aspx file and then I tried WAT, I would get the error message.

If I opened chapter 04 in the END folder and tried WAT, I would not get the error and could use WAT.

If I copied chapter 04 to an empty folder in the BEGIN section and tried to use WAT would error.

I don't understand why it would work in the END folder and not in the Begin folder. I even gave Network_server full control on the App_data folder.

I am spending too much time trying to fix this problem. I think I'll uninstall VWD abd SQL2005 Express.

Sometimes computers give me the opportunity to learn new things.


Old February 14th, 2006, 09:17 AM
Wrox Author
Join Date: Jun 2004
Posts: 59
Thanks: 0
Thanked 0 Times in 0 Posts

    This one's a hard one for me to comment on as I didn't write this chapter. However I'm not seeing a Begin Folder in the downloaded code for the Chapter 04.zip (is there one in the whole code download?). I'm wondering if Chris removed it from the folder because there was some problem with it. She's on maternity leave atm so kinda hard to contact.

Anyway the Begin folder is largely superfluous for this chapter. Assuming you're using Cassini/ASp.NET development Web server and NOT IIS, then I'd suggest you just ignore it and just create a new web site called chapter4 yourself and take the Try It Outs (TIO) from the beginning, ignoring step 1. I've just done this and the TIO works fine.

The reason we had the Begin folder is that in some chapters we use specific versions of the WroxUnited site and the Begin folder has the db stuff already setup for you. I realise the last TIO in chapter 4 does reference a WroxUnited version in this chapter, however you should be able to run the last TIO in the chapter using the WroxUnited app, and just disabling the roles that are enabled first.

As for the problem, it's not a problem with the code, but either the setup in the code download or with ASP.NET 2.0 itself. I'd say it's some sort of permissions issue with ASP.NET 2.0. The best way to circumvent the issue is by creating a new web site and doing the Try It Out this way, ASP.NEt 2.0 should set up the new site correctly, and the Administer Website link should just work.

Hope this helps,

Chris Ullman
Programmer/Technical Author
Old February 14th, 2006, 11:31 AM
Registered User
Join Date: Jan 2006
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts

Problem solved.

I removed and installed VWD and SQL2005 express and related programs. But, this did not help.

I search Internet for possible answers. No help.

After reading Chris's response, I thought about creating a new web site, but this time in the END folder and not the folder I had been using. The Web Site Administration Tool would open with no error.

As I am working thru this book using C#, I created a Folder named Begin C# and I created all my TIO code in this folder.

The naming of the folder was the problem. If I change the name from "Begin C#" to "Begin CSharp" the ASp.Net Site Administration Tool now works.

Sometimes the simply things are the problem.


Similar Threads
Thread Thread Starter Forum Replies Last Post
Chapt 9, Pg 227. Error? ericfields6483 BOOK: Beginning CSS: Cascading Style Sheets for Web Design ISBN: 978-0-7645-7642-3 1 October 2nd, 2005 12:46 PM
[CH04] Interfaces Norm 2782 BOOK: Professional PHP 5 ISBN: 978-0-7645-7282-1 3 June 16th, 2005 04:56 AM
date()-111 or something crmpicco Classic ASP Basics 1 February 3rd, 2005 01:51 PM

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