Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 3.5 > BOOK: Professional ASP.NET 3.5 SP1 Edition: In C# and VB
Password Reminder
Register
Register | FAQ | Members List | Calendar | 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 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
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old February 17th, 2011, 09: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.
Reply With Quote
Reply


Thread Tools
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
Error in Chapter 11 Sample Code josevi BOOK: Professional SharePoint 2007 Development ISBN: 978-0-470-11756-9 1 February 1st, 2008 12: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



All times are GMT -4. The time now is 03:19 PM.


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