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 26th, 2006, 10:50 PM
Friend of Wrox
 
Join Date: Apr 2005
Posts: 190
Thanks: 0
Thanked 0 Times in 0 Posts
Default Ch 15 Try It Out, Handling Global Errors, p.583

The Try It Out Lines 11 & 12 contain instructions that when I coded them, caused errors.
To Fix 'em:
Line 11. I needed to "switch back to the Checkout.aspx.vb code.", not global.asax.

Line 12. Apparently there is not a constructor signature with these two arguments for a new SqlException object. I found that if I replaced "New SqlException..." with "New Exception... " it would work. (Leave the 2nd constructor argument as "SqlEx", because
SqlException inherits from Exception.)

VV






Similar Threads
Thread Thread Starter Forum Replies Last Post
Global Syntex errors :( V3n0M VB How-To 6 January 14th, 2008 07:03 PM
handling all types of errors kliu9 Excel VBA 2 March 9th, 2005 01:06 PM
CH.15 NEED HELP stacy BOOK: Beginning ASP 3.0 1 January 21st, 2004 03:37 AM





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