Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
BOOK: Professional ASP.NET 3.5 SP1 Edition: In C# and VB
This is the forum to discuss the Wrox book Professional ASP.NET 3.5 SP1 Edition: In C# and VB by Bill Evjen, Scott Hanselman, and Devin Rader; ISBN: 9780470478264
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional ASP.NET 3.5 SP1 Edition: 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
  #1 (permalink)  
Old February 17th, 2011, 10:58 PM
Registered User
 
Join Date: Feb 2011
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Cool Error Trying to run sample code from chapter 9

Hi, Everybody. I am trying to run Sample code from Chapter 9 of the book (more specifically Listing9-2.aspx). I get a whole bunch of errors when I try to run it. See below:

c:\Users\mzaretsky\Documents\Visual Studio 2008\Projects\ProfASPNet\ProfASPNet\App_Code\Movie s.designer.cs(16,19): error CS0234: The type or namespace name 'Linq' does not exist in the namespace 'System.Data' (are you missing an assembly reference?)
c:\Users\mzaretsky\Documents\Visual Studio 2008\Projects\ProfASPNet\ProfASPNet\App_Code\Movie s.designer.cs(17,19): error CS0234: The type or namespace name 'Linq' does not exist in the namespace 'System.Data' (are you missing an assembly reference?)
c:\Users\mzaretsky\Documents\Visual Studio 2008\Projects\ProfASPNet\ProfASPNet\App_Code\Movie s.designer.cs(25,54): error CS0234: The type or namespace name 'Linq' does not exist in the namespace 'System.Data' (are you missing an assembly reference?)
c:\Users\mzaretsky\Documents\Visual Studio 2008\Projects\ProfASPNet\ProfASPNet\App_Code\Movie s1.designer.cs(14,20): error CS0234: The type or namespace name 'Linq' does not exist in the namespace 'System.Data' (are you missing an assembly reference?)
c:\Users\mzaretsky\Documents\Visual Studio 2008\Projects\ProfASPNet\ProfASPNet\App_Code\Movie s1.designer.cs(15,20): error CS0234: The type or namespace name 'Linq' does not exist in the namespace 'System.Data' (are you missing an assembly reference?)
c:\Users\mzaretsky\Documents\Visual Studio 2008\Projects\ProfASPNet\ProfASPNet\App_Code\Movie s1.designer.cs(26,55): error CS0234: The type or namespace name 'Linq' does not exist in the namespace 'System.Data' (are you missing an assembly reference?)
c:\Users\mzaretsky\Documents\Visual Studio 2008\Projects\ProfASPNet\ProfASPNet\App_Code\Movie s.designer.cs(28,29): error CS0234: The type or namespace name 'Linq' does not exist in the namespace 'System.Data' (are you missing an assembly reference?)
c:\Users\mzaretsky\Documents\Visual Studio 2008\Projects\ProfASPNet\ProfASPNet\App_Code\Movie s.designer.cs(58,58): error CS0234: The type or namespace name 'Linq' does not exist in the namespace 'System.Data' (are you missing an assembly reference?)
c:\Users\mzaretsky\Documents\Visual Studio 2008\Projects\ProfASPNet\ProfASPNet\App_Code\Movie s.designer.cs(64,77): error CS0234: The type or namespace name 'Linq' does not exist in the namespace 'System.Data' (are you missing an assembly reference?)
c:\Users\mzaretsky\Documents\Visual Studio 2008\Projects\ProfASPNet\ProfASPNet\App_Code\Movie s.designer.cs(70,21): error CS0234: The type or namespace name 'Linq' does not exist in the namespace 'System.Data' (are you missing an assembly reference?)
c:\Users\mzaretsky\Documents\Visual Studio 2008\Projects\ProfASPNet\ProfASPNet\App_Code\Movie s.designer.cs(78,21): error CS0234: The type or namespace name 'Linq' does not exist in the namespace 'System.Data' (are you missing an assembly reference?)
c:\Users\mzaretsky\Documents\Visual Studio 2008\Projects\ProfASPNet\ProfASPNet\App_Code\Movie s.designer.cs(86,21): error CS0234: The type or namespace name 'Linq' does not exist in the namespace 'System.Data' (are you missing an assembly reference?)
c:\Users\mzaretsky\Documents\Visual Studio 2008\Projects\ProfASPNet\ProfASPNet\App_Code\Movie s.designer.cs(95,9): error CS0246: The type or namespace name 'ISingleResult' could not be found (are you missing a using directive or an assembly reference?)
........
........
c:\Users\mzaretsky\Documents\Visual Studio 2008\Projects\ProfASPNet\ProfASPNet\App_Code\Movie s1.designer.cs(505,4): error CS0246: The type or namespace name 'ColumnAttribute' could not be found (are you missing a using directive or an assembly reference?)
c:\Users\mzaretsky\Documents\Visual Studio 2008\Projects\ProfASPNet\ProfASPNet\App_Code\Movie s1.designer.cs(423,3): error CS0246: The type or namespace name 'Table' could not be found (are you missing a using directive or an assembly reference?)
c:\Users\mzaretsky\Documents\Visual Studio 2008\Projects\ProfASPNet\ProfASPNet\App_Code\Movie s1.designer.cs(423,3): error CS0246: The type or namespace name 'TableAttribute' could not be found (are you missing a using directive or an assembly reference?)

Does anyone have any clue as to what is going on. Thank ahead for any input on this. Michael.


Similar Threads
Thread Thread Starter Forum Replies Last Post
Error in Chapter 11 Sample Code josevi BOOK: Professional SharePoint 2007 Development ISBN: 978-0-470-11756-9 1 February 1st, 2008 01:43 PM
How to run the sample code rng BOOK: Professional ASP.NET 2.0 Server Control and Component Development ISBN: 978-0-471-79350-2 1 May 4th, 2007 05:18 PM
How to run the chapter 10 (acegi) sample code? dleal BOOK: Professional Java Development with the Spring Framework 0 June 28th, 2006 10:50 AM





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