Wrox Programmer Forums

Need to download code?

View our list of code downloads.

| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
BOOK: Beginning VB.NET Databases
This is the forum to discuss the Wrox book Beginning VB.NET Databases by Thearon Willis; ISBN: 9780764568008
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning VB.NET Databases 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
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old February 11th, 2005, 10:45 PM
Authorized User
 
Join Date: Feb 2005
Location: , SC, USA.
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Default Returned Error

Hello,

I am attempting to connect, I have changed the information in the app.config file. As I run the project it returns this error:

Could not bind to the new display member. Parameter name: newDisplayMember.

Some basic info - I am logged on as the admin, I know the connection string as it works with other DB's. I stepped thru the code, as it is going thru the steps on main.vb it goes thru Dim objAdmin as New Admin, and then at objAdmin.ShowDialog the Error message pops up.

Anyone have any ideas?

Thanks, Chuck
Reply With Quote
  #2 (permalink)  
Old February 12th, 2005, 05:58 AM
Thearon's Avatar
Wrox Author
 
Join Date: Dec 2003
Location: Fuquay Varina, NC, USA.
Posts: 396
Thanks: 0
Thanked 8 Times in 8 Posts
Default

Chuck,

Could you specify what chapter and exercise you are working on and exactly where the error occurs. It would also be helpful to know whether you are working with SQL Server or Oracle as this sounds like an error that would occur with Oracle binding a member name to a combo box.

Thearon
Reply With Quote
  #3 (permalink)  
Old February 12th, 2005, 09:30 AM
Authorized User
 
Join Date: Feb 2005
Location: , SC, USA.
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hey Thearon,

Thanks for responding. I'm just attempting to load the chapter 9 SQL Server App. I'm not sure what info to give you as I am fairly new still. I am a programing student - I also work in the computer lab where I go to school this server is on a network. I have created other DB's and have connected to them so I am unsure what is happening here.

Chuck

Reply With Quote
  #4 (permalink)  
Old February 12th, 2005, 11:19 AM
Thearon's Avatar
Wrox Author
 
Join Date: Dec 2003
Location: Fuquay Varina, NC, USA.
Posts: 396
Thanks: 0
Thanked 8 Times in 8 Posts
Default

Chuck,

I assume you are working through the Accessing SQL Server or Oracle exercise. Please verify that the Data Source key in your app.config file specifies the name of the server where SQL Server is running and that the Initial Catalog key specifies the database of ProjectTimeTracker. I assume this database has already been created on this server since you are now at this point and that you have already created the stored procedures in that database. Next ensure that you specify your SQL Server user name and password for the User ID and Password keys in your app.config file. If you are logging in as the admin then this would be the user id of 'sa' and the appropriate password.

Thearon
Reply With Quote
  #5 (permalink)  
Old February 12th, 2005, 03:32 PM
Authorized User
 
Join Date: Feb 2005
Location: , SC, USA.
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Yes the app.config file is config'ed correctly. I believe we have Windows Authentication. My boss requested that I modify a Senior Project for the computer lab that I work in. This sign in system did not work as it should. I have used the methods modeled in your book to tweak the app and have made good progress. Thank you for that, I have learned alot but have about a million questions. But I am rambling - The app.config file for the sign in system connects fine with windows authentication. I was running the Chapter 9 app at home to study your methods. I just wanted to do the same at work.


Additional positive feedback - I appreciate the "starting at the ground floor and ending up with a proffesional app" method.

Chuck

Reply With Quote
  #6 (permalink)  
Old February 13th, 2005, 06:06 AM
Thearon's Avatar
Wrox Author
 
Join Date: Dec 2003
Location: Fuquay Varina, NC, USA.
Posts: 396
Thanks: 0
Thanked 8 Times in 8 Posts
Default

Chuck,

You need to step through the code for the Admin form to find the exact point of the error in order to give more more information to work with. I'm sorry I can't be more help at this point but it sounds like you have your app.config file set up correctly, are making a connection to the database but that some other problem exists.

Thearon
Reply With Quote
  #7 (permalink)  
Old February 13th, 2005, 04:07 PM
Authorized User
 
Join Date: Feb 2005
Location: , SC, USA.
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I'm thinking the same thing, I started Ch. 10 last night and so lets not pursue the solution to this dilemma any longer. I work in a computer lab where I have to troubleshoot and answer student's questions all day long - I have to "see" what the problem is, I can't imagine troubleshooting something thru email or over the phone, so I understand. Thanks again for the attempt.

Chuck

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

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
The remote server returned an error: (404) Not Fou princechalakkal XSLT 1 September 12th, 2006 11:45 AM
Soap Extension and error being returned khoy .NET Web Services 0 July 14th, 2006 10:55 AM
OCIEnvCreate returned -1 amagoosla ADO.NET 3 June 9th, 2005 06:27 AM
Inserting Returned Records hugh@kmcnetwork.com SQL Language 2 November 4th, 2003 01:05 PM
SP Returned Output with Error sidneyfuerte Classic ASP Professional 0 September 8th, 2003 02:11 PM



All times are GMT -4. The time now is 05:52 AM.


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