View Single Post
  #1 (permalink)  
Old February 17th, 2011, 10:58 PM
mzaretsky99 mzaretsky99 is offline
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.