Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > C# and C > C# 1.0 > BOOK: Professional C#, 2nd and 3rd Editions
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 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
 
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old April 2nd, 2005, 09:36 PM
Registered User
 
Join Date: Apr 2005
Location: Toronto, , Canada.
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
 


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

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



All times are GMT -4. The time now is 03:15 AM.


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