Wrox Programmer Forums
BOOK: Professional ASP.NET 3.5 : in C# and VB ISBN: 978-0-470-18757-9
This is the forum to discuss the Wrox book Professional ASP.NET 3.5: In C# and VB by Bill Evjen, Scott Hanselman, Devin Rader; ISBN: 9780470187579
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional ASP.NET 3.5 : in C# and VB ISBN: 978-0-470-18757-9 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 September 12th, 2009, 04:02 AM
Registered User
Join Date: Sep 2009
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Chapter 8 Listing 8-1 Code error

When I try to work on the listing 8-1 I got the following error.

"Make sure that the class defined in this code file matches the 'inherits' attribute, and that it extends the correct base class (e.g. Page or UserControl) "

Please help me


Old July 2nd, 2010, 02:12 PM
Authorized User
Join Date: Aug 2009
Posts: 17
Thanks: 0
Thanked 1 Time in 1 Post

Without seeing your code, I'd say look at your @Page directive in the .aspx and make sure that the "Codebehind" and "Inherits" properties are set correctly (should match the codebehind file and class name in the codebehind file).

Similar Threads
Thread Thread Starter Forum Replies Last Post
Code Error Chapter 5 ostrandernw BOOK: Beginning Access 2007 VBA ISBN: 978-0-470-04684-5 3 January 30th, 2018 04:31 PM
Data Management Chapter Listing 8-30 jayeshsatam BOOK: Professional ASP.NET 3.5 : in C# and VB ISBN: 978-0-470-18757-9 1 July 2nd, 2010 01:25 PM
Chapter 3 Listing 3-15 stanguss BOOK: Professional ASP.NET 2.0 and Special Edition; ISBN: 978-0-7645-7610-2; ISBN: 978-0-470-04178-9 3 December 7th, 2007 06:17 PM
Chapter 12 code error rsteph7 BOOK: Beginning PHP4/PHP 5 ISBN: 978-0-7645-4364-7; v5 ISBN: 978-0-7645-5783-5 34 August 18th, 2004 01:53 PM

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