Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 4 > BOOK: Professional ASP.NET MVC 2
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
BOOK: Professional ASP.NET MVC 2
This is the forum to discuss the Wrox book Professional ASP.NET MVC 2 by Jon Galloway, Scott Hanselman, Phil Haack, Scott Guthrie, Rob Conery; ISBN: Professional ASP.NET MVC 2
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional ASP.NET MVC 2 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 June 22nd, 2010, 12:31 PM
Registered User
 
Join Date: Feb 2009
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default Error on page 30 in DinnerRepository

I couldn't find any errata link on the book page, so I am assuming we post all errata here?

Anyway, there is an error on page 30 in the DinnerRepository class, the Delete(Dinner dinner) method:
foreach(var rsvp in dinner.RSVPs){
entities.RSVPs.DeleteObject(dinner.RSVPs)
}

This does not work, and throws a compliation error. The error is also repeated in the downloaded code. But, I found the correct code on the NerdDinner2.0 Codeplex download:

foreach(RSVP rsvp in dinner.RSVPs.ToList()){
entities.RSVPs.DeleteObject(rsvp)
}

Last edited by adimauro; June 22nd, 2010 at 12:36 PM.. Reason: Edited to correct page number. Should be page 30.
  #2 (permalink)  
Old June 23rd, 2010, 02:41 AM
Imar's Avatar
Wrox Author
Points: 72,038, Level: 100
Points: 72,038, Level: 100 Points: 72,038, Level: 100 Points: 72,038, Level: 100
Activity: 100%
Activity: 100% Activity: 100% Activity: 100%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,080
Thanks: 80
Thanked 1,587 Times in 1,563 Posts
Default

Hi there,

I think you can submit errors to Wrox through this form: https://hub.wiley.com/community/support/wrox

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!

Last edited by jminatel; May 18th, 2016 at 03:37 PM.. Reason: new Wrox support URL https://hub.wiley.com/community/support/wrox
  #3 (permalink)  
Old June 24th, 2010, 11:47 AM
Registered User
 
Join Date: Feb 2009
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default Not officially released?

It seems that according to the Wrox site, this book is still listed as 'upcoming'. Somehow Amazon sent them out early? I think that is why there is no errata link yet. They even listed it with a June 28 release date, but I already received mine on June 21.

I guess I have to wait to 'officially' submit errata, but just a quick heads up. Besides the error on page 30, I have encountered a bunch more on pages 88-91, and they are repeated in the downloaded code. The only place I found the correct code was by downloading NerdDinner2.0 from the CodePlex site. So, I recommend that over the code on the Wrox site.
  #4 (permalink)  
Old July 6th, 2010, 07:46 PM
Registered User
 
Join Date: Jul 2010
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I've submitted the error through the errata submission form.
Thanks for the fix. It was driving me nuts.
 


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
Undefined session variables Ch.2 pg. 38-39 outtaMyBlood BOOK: Beginning PHP 6, Apache, MySQL 6 Web Development ISBN: 9780470391143 2 March 14th, 2009 02:19 PM
XML parsing: line 1, character 38, unable to switc prafullaborade XML 2 May 22nd, 2008 06:21 AM
Error page youyou_hym Dreamweaver (all versions) 1 June 2nd, 2005 03:59 PM
Phile Page error, visual studio error reps BOOK: ASP.NET Website Programming Problem-Design-Solution 0 September 27th, 2003 10:11 AM



All times are GMT -4. The time now is 10:43 AM.


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