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
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.
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.