Wrox Programmer Forums
|
BOOK: Professional C#, 2nd and 3rd Editions
This is the forum to discuss the Wrox book Professional C#, 3rd Edition by Simon Robinson, Christian Nagel, Karli Watson, Jay Glynn, Morgan Skinner, Bill Evjen; ISBN: 9780764557590
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional C#, 2nd and 3rd Editions 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
 
Old April 2nd, 2005, 09:36 PM
Registered User
 
Join Date: Apr 2005
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default Problem with Data Access

I've been going through the 2nd edition and enjoying it very much. I have come to the chapter on Data Access, however, and have hit a brick wall. The code on page 523 does not run for me. When I hit the line that reads:

    conn.open();

It hangs for about 30 seconds and then issues an unhandled exception message.

I looked through this forum and noticed that somebody has already had this problem but I did not understand the response that was posted.

The problem is, my undertstanding of database THEORY is pretty good but my understanding of all of the drivers, services, clients, connection issues, security issues, etc, etc, is absolutely minimal. I have looked for and failed to find any book or literature that even begins to de-mystify this sector or computer science.

I have no idea if my system is set up to run this example code. On page 516 of "2nd Edition" says that if I install the .NET SDK, the directory "(local)\\NetSDK" should contain the Northwind Database. I installed the .NET SDK TWICE and it did not install the Northwind database, nor did it create the NETSDK directory. (I performed a complete harddrive search). I do have Microsoft Access and it has placed a database called Northwind into its sample directory so I just pointed the code at that instead. Was this wrong?

The bottom line is I would like to understand what I need to do so that I can continue my work with this book.

Can anybody help?
Thank you,
Eberly





Similar Threads
Thread Thread Starter Forum Replies Last Post
Data access problem middletree BOOK: Beginning ASP.NET 2.0 BOOK VB ISBN: 978-0-7645-8850-1; C# ISBN: 978-0-470-04258-8 3 May 22nd, 2008 03:13 PM
Data Access Pages Problem Help! jdbash1 Access ASP 1 November 26th, 2006 06:32 PM
Data Access Page Problem Help jdbash1 Access VBA 0 June 5th, 2006 02:18 PM
Problem retriving data from access akhilvira ASP.NET 1.0 and 1.1 Basics 3 December 24th, 2004 07:03 AM
Data access page access problem :) kev_79 Access 0 September 4th, 2003 04:02 PM





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