Wrox Programmer Forums
Go Back   Wrox Programmer Forums > C# and C > C# 1.0 > BOOK: Beginning Visual C#
|
BOOK: Beginning Visual C#
This is the forum to discuss the Wrox book Beginning Visual C#, Revised Edition of Beginning C# for .NET v1.0 by Karli Watson, David Espinosa, Zach Greenvoss, Jacob Hammer Pedersen, Christian Nagel, Jon D. Reid, Matthew Reynolds, Morgan Skinner, Eric White; ISBN: 9780764543821
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning Visual C# 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 October 2nd, 2004, 10:46 AM
Authorized User
 
Join Date: Jul 2004
Posts: 26
Thanks: 0
Thanked 0 Times in 0 Posts
Default Problem with configuration wizard and Access 2000

Hello All

I wonder if any one may help me resolve a small problem here. I am trying to get the configuration wizard to autogenerate the SQL for an Access 2000 database table. The problem is, in the last step of the configuration wizard's procedure, it tells me : "Could not determine which columns uniquely identify the rows for table".
This message is given regarding the update and delete SQL statements (which therefore did not get generated!). The wizard was able to generate SQL for the insert and SELECT SQL statements. My Access table is using the Autonumber datatype as a primary key. It seems that this should be enough for Access to know which columns uniquely identify the rows for my table! I am using the Configuration Wizard with odbcDataAdapter1.

Cmarek
__________________
Cmarek
 
Old November 30th, 2004, 12:59 PM
Registered User
 
Join Date: Nov 2004
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I get the same - I am using Access 2000 also, and the OdbcDataAdapter.
The table has a single index - the Primary Key, which is an AutoNumber and the first field.

I've been looking all over for an answer, as you have. I'm guessing there is a bug in .NET, because any table I try this with gives me the same thing. If this is documented somewhere, I haven't seen it.

David

Quote:
quote:Originally posted by cjmarek
 Hello All

I wonder if any one may help me resolve a small problem here. I am trying to get the configuration wizard to autogenerate the SQL for an Access 2000 database table. The problem is, in the last step of the configuration wizard's procedure, it tells me : "Could not determine which columns uniquely identify the rows for table".
This message is given regarding the update and delete SQL statements (which therefore did not get generated!). The wizard was able to generate SQL for the insert and SELECT SQL statements. My Access table is using the Autonumber datatype as a primary key. It seems that this should be enough for Access to know which columns uniquely identify the rows for my table! I am using the Configuration Wizard with odbcDataAdapter1.

Cmarek
 
Old February 16th, 2005, 11:42 AM
Registered User
 
Join Date: Feb 2005
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I had this problem and it was because I had a "." in the database name. Remove the period and it worked.

 
Old April 1st, 2005, 08:23 PM
Registered User
 
Join Date: Apr 2005
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Had the same problem because I used OdbcDataAdapter for the connection. To connect to an Access db you need to use the OleDbAdapter instead by clicking on 'Provider' and then choosing Microsoft Jet 4.0, from there the steps are about the same for the rest of the Adapter.






Similar Threads
Thread Thread Starter Forum Replies Last Post
ASP.NET Configuration Wizard - How does it work? VictorVictor BOOK: Beginning ASP.NET 2.0 BOOK VB ISBN: 978-0-7645-8850-1; C# ISBN: 978-0-470-04258-8 1 March 10th, 2006 07:32 PM
ODBC Data Adapter Configuration Wizard Problem TCantrell VB Databases Basics 0 February 27th, 2005 05:03 PM
Data Adapter Configuration Wizard martyO VS.NET 2002/2003 1 February 2nd, 2005 03:00 AM
Data Adapter Configuration Wizard martyO BOOK: Beginning VB.NET 2nd Edition/Beginning VB.NET 2003 0 February 1st, 2005 06:35 PM
DTS Export Wizard (SQL to Access 2000) fails ctudose SQL Server 2000 2 June 13th, 2003 05:46 AM





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