Wrox Programmer Forums

Need to download code?

View our list of code downloads.

| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 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 Search this Thread Display Modes
  #1 (permalink)  
Old March 1st, 2006, 07:35 PM
Friend of Wrox
Join Date: Apr 2005
Location: Fort Walton Beach, FL, USA.
Posts: 190
Thanks: 0
Thanked 0 Times in 0 Posts
Default Ch 16 Try It Out doesn' t work + Fixes

On page 619 the Try It Out, as coded in the book is both
in error and is a little unclear as follows.

1. The error is that all the code specified in Line 4 should be omitted
 -- at least I found that to be so.

It would not compile at all, and the error text said the provider had
been specified already. Once the code block was removed it compiled.

2. On page 620, Line 6 should point to the Event Viewer --
at least for me and I'm using XP SP2. Then it should say that assuming
your Application Log hasn't already been filled up and assuming that
you are recording events, then select the most recent entry in the
Application panel. Right click it and select Properties. Then, you
will see something similar to Figure 16-13.


  #2 (permalink)  
Old March 2nd, 2006, 07:42 AM
Wrox Author
Join Date: Jun 2004
Location: Liskeard, Cornwall, United Kingdom.
Posts: 59
Thanks: 0
Thanked 0 Times in 0 Posts

     You're right on point 1, MS threw me a curve ball again (sigh). The <providers> elements weren't in the "general" web.config in the betas, but come the final version (after the book had been written), this element was added, thus helpfully breaking my example. You are right, you don't need it now.

I could pull my hair out sometimes. I actually did some documentation for MS on the healthmonitoring stuff, so I was way ahead of the curve on this one - unfortunately too far as it turned out.

And point 2, yes it's Event Viewer not Event Log.


Chris Ullman
Programmer/Technical Author
  #3 (permalink)  
Old March 2nd, 2006, 11:02 AM
Friend of Wrox
Join Date: Apr 2005
Location: Fort Walton Beach, FL, USA.
Posts: 190
Thanks: 0
Thanked 0 Times in 0 Posts

OK and thanks again. Its nice getting confirmation feedback
from those of you who know or are authors.

Although I am planning on employing Health monitoring in my app,
to detect multiple (hacker) attacks and to lock the user out if the
failed attempts at password exceed, say, 10.

However, I am going to have to bypass my detailed scrutiny for employing
this facility. It looks like just the thing for that purpose.

I have an app that I designed and half wrote using the Beta 2 that needs
drastic revision. MS threw me a curve ball too in that the change from
the beta to Express is radical. Such is the life of a developer.

  #4 (permalink)  
Old December 12th, 2007, 10:04 AM
Registered User
Join Date: Dec 2007
Location: Miramar, FL, USA.
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts

I'm using the C# version. I didn't have any problems with the event log as defined in the book (my page numbers are different). I am having problems in "emailing the administrator" section. I looked in the web.config file of the "End" version, but it didn't have a lot of the settings. Can you post the releveant web.config sections?

BTW, it would help if you stated the Step # of the try it out. Line numbers may differ.


Matthew Wells

Matthew Wells

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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
Try it out:Ch 16 Dataset Example flhartley VB.NET 2002/2003 Basics 1 August 28th, 2009 07:00 AM
Trouble viewing the forum (ch. 16) Draconian BOOK: Beginning PHP5, Apache, and MySQL Web Development ISBN: 978-0-7645-7966-0 3 August 26th, 2005 02:02 AM
Ch 16 -- compile error w/ components adidaswood BOOK: Beginning ASP.NET 1.0 0 September 22nd, 2004 08:57 PM
Ch 16 driver not found dmswdev JSP Basics 1 June 27th, 2003 05:15 AM

All times are GMT -4. The time now is 09:23 AM.

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