Wrox Programmer Forums
|
BOOK: Beginning ASP.NET 4 : in C# and VB
This is the forum to discuss the Wrox book Beginning ASP.NET 4: in C# and VB by Imar Spaanjaars; ISBN: 9780470502211
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning ASP.NET 4 : in C# and VB 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 March 10th, 2011, 09:22 PM
Authorized User
 
Join Date: Mar 2011
Posts: 10
Thanks: 1
Thanked 0 Times in 0 Posts
Default Compile errors

I have downloaded, unzipped, and pulled the 'Final' folder into VS2010. I must be missing something because when I 'build' I get lots of errors. The first one being 'Type BasePage is not defined', followed by 'Handles clause requires a WithEvents variable...'.

Did I miss something in the setup?
 
Old March 11th, 2011, 05:54 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Hi there,

Can you describe your physical folder structure on disk, and the steps you take to open the site in Visual Studio (including the folder you're opening and the way you open the site)?

Cheers,

Imar
__________________
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Follow me on Twitter

Author of Beginning ASP.NET 4.5 : in C# and VB, Beginning ASP.NET Web Pages with WebMatrix
and Beginning ASP.NET 4 : in C# and VB.
Did this post help you? Click the button below this post to show your appreciation!
 
Old March 12th, 2011, 01:49 AM
Authorized User
 
Join Date: Mar 2011
Posts: 10
Thanks: 1
Thanked 0 Times in 0 Posts
Default Compile errors

I was trying to get going quickly on the ADO.NET and database stuff but apparently need to slow down. Went back near the beginning of the book and found I need to create a web site project. Then work forward through the book adding pieces to it. I'm hoping by the time I get back to the database stuff my compile errors will be gone. One error that still puzzles me is the 'using PlanetWroxModel'. Don't know where that is to come from. Can you tell me where that namespace will come from?

Good book!
 
Old March 13th, 2011, 09:30 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Hi there,

If you follow the instructions in the Introduction section of the book, you should be able to open the Final folder and run the complete site without compilation errors.

The PlanetWroxModel namespace is created by the Entity Framework model, introduced in Chapter 14.

Cheers,

Imar
__________________
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Follow me on Twitter

Author of Beginning ASP.NET 4.5 : in C# and VB, Beginning ASP.NET Web Pages with WebMatrix
and Beginning ASP.NET 4 : in C# and VB.
Did this post help you? Click the button below this post to show your appreciation!





Similar Threads
Thread Thread Starter Forum Replies Last Post
Compile Errors TadPad BOOK: Professional C# 2008 ISBN: 978-0-470-19137-8 1 March 4th, 2011 08:07 AM
CH 14 Pages 749-753 Compile Errors Razzy The Pug BOOK: Ivor Horton's Beginning Visual C++ 2005 1 March 28th, 2008 10:20 AM
Can't get errors to display with <html:errors> michaeldill JSP Basics 0 August 2nd, 2004 01:47 PM
errors and fixing errors Droopy XML 0 August 26th, 2003 12:47 AM
Errors Errors DB Errors Ljhopkins VS.NET 2002/2003 0 July 15th, 2003 12:42 PM





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