Google Groups Home
Help | Sign in
Data Adapter Configuration Wizard creates new Connection
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Collapse all
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
Jim Dafnis  
View profile
 More options Feb 15 2004, 3:06 pm
Newsgroups: microsoft.public.dotnet.framework.adonet
From: "Jim Dafnis" <skial...@hotmail.com>
Date: Sun, 15 Feb 2004 14:04:37 -0600
Local: Sun, Feb 15 2004 3:04 pm
Subject: Data Adapter Configuration Wizard creates new Connection
Hi

I'm working on a project with multiple developers in VB.NET 2003. SQL
Database

We are mainly connecting to the database by dropping SQL Data Adapter
objects on a form, configuring it and generating a dataset. The Data Adapter
wizard creates a connection object on the form as well. Great.

The problem comes in when one developer has created these objects on a form,
and then another developer goes in a re-runs the Data Adapter wizard (to add
a field to the query for example). The wizard then adds another connection
object to the form because it can't find the existing one (because the
workstation ID is different, because of the different developer). Is there a
better way to do this so we don't have these extra connections being created
when we don't want to? This is creating a lot of hassle.

Thanks


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Cor  
View profile
 More options Feb 16 2004, 3:23 am
Newsgroups: microsoft.public.dotnet.framework.adonet
From: "Cor" <n...@non.com>
Date: Mon, 16 Feb 2004 09:19:55 +0100
Local: Mon, Feb 16 2004 3:19 am
Subject: Re: Data Adapter Configuration Wizard creates new Connection
Hi Jim,

I think that solutions can be to make your own datatbase classes or to use a
central SQL server.

You also can make the connection strings in the load events of the forms and
create also a new connection there.

I hope this helps?

Cor


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Michael Hampel  
View profile
 More options Feb 16 2004, 4:58 am
Newsgroups: microsoft.public.dotnet.framework.adonet
From: mich...@hampel.fsnet.co.uk (Michael Hampel)
Date: 16 Feb 2004 01:58:25 -0800
Local: Mon, Feb 16 2004 4:58 am
Subject: Re: Data Adapter Configuration Wizard creates new Connection
Have you tried removing the WorkStation id parameter from the
connection string?
This parameter will be getting appended to the connectionstring in the
InitializeComponent method of the form for the sql connection. When
the data adaptor is subsequently being re congigured I dont think it
will reinsert the workstation parameter.

Also are you using Integratated database security as opposed to sql
security?


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2008 Google