p2p.wrox.com Forums

Need to download code?

View our list of code downloads.


Go Back   p2p.wrox.com Forums > ASP.NET and ASP > ASP.NET 2.0 > BOOK: ASP.NET 2.0 MVP Hacks and Tips
I forgot my password Register Now
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
BOOK: ASP.NET 2.0 MVP Hacks and Tips
This is the forum to discuss the Wrox book ASP.NET 2.0 MVP Hacks and Tips by David Yack, Joe Mayo, Scott Hanselman, Fredrik Normén, Dan Wahlin, J. Ambrose Little, Jonathan Goodyear; ISBN: 9780764597664

Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: ASP.NET 2.0 MVP Hacks and Tips section of the Wrox p2p Programmer to Programmer discussion community. This is a community of more than 40,000 computer programmers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining our free Wrox p2p community you can post your own programming questions and respond to other programmers’ questions. Registered users also don't have to see the ads that are displayed to guests. Registration is fast, simple and absolutely free so please, join today!
Join today and post to win prizes! Post more to increase your chances of being Wrox’s top poster of the month.

Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old March 5th, 2008, 01:49 PM
Registered User
 
Join Date: Mar 2008
Location: Lindenhurst, IL, USA.
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Example code for Chapter 8 doesn't work!

1. When accessing "Default2.aspx", I get an error about access to the Northwind database.  This is because the DataSoure for the connection string is hardcoded as "DYACK-TABLET\SQL2005".  After correcting this, I get the following error:

Invalid object name 'AccessHistory'.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Data.SqlClient.SqlException: Invalid object name 'AccessHistory'
.


2. When accessing "Default3.aspx", I get the following error:

ObjectDataSource 'ProductEditODS1' could not find a non-generic method 'GetProductByID' that has parameters: ProductID, ProductID1.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.InvalidOperationException: ObjectDataSource 'ProductEditODS1' could not find a non-generic method 'GetProductByID' that has parameters: ProductID, ProductID1
.


Dave
__________________
Dave
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Reply


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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Cannot Get PHP Code Example in Chapter 1 to Work rhieger Beginning PHP 5 July 27th, 2008 12:16 PM
Can't get the code in chapter 17 to work javaprof BOOK: Beginning MySQL 1 June 22nd, 2008 06:58 PM
Chapter 5 code doesn't work trulygreat BOOK: Silverlight 1.0 ISBN 978-0-470-22840-1 2 November 26th, 2007 03:17 PM
Downloaded code for chapter 1 doesn't work Terran101 BOOK: Beginning Ajax ISBN: 978-0-470-10675-4 2 November 7th, 2007 07:03 AM
Chapter 7 p 214 code didn't work, changes needed.. jmurdock BOOK: Professional SQL Server Reporting Services ISBN: 0-7645-6878-7 1 June 20th, 2004 10:06 PM



All times are GMT -4. The time now is 12:21 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
© 2008 Wiley Publishing, Inc