PC Review


Reply
Thread Tools Rate Thread

DSN and ODBC

 
 
skc
Guest
Posts: n/a
 
      21st Jun 2004
A user creates forms in dBase5.7 and now uses a SQL2000
database on our network to access tables via dBase.

He has made an application that requires an ODBC DSN
(System DSN) to be created on the local machine and this
gets posted to a config file called BDE Configuration
(part of dBase) and this enables the application to work.

He is now thinking of rolling out this application to
users on the network - around 30 machines. Instead of
going round to each machine and adding a System DSN is
there an easy way to do this from one central source?
Furthermore, if you look at the footers for System DSN,
File DSN and User DSN, the File DSN is sharable but not
compatible with dBase's BDE Config.

So my question is: Is there a Utility to enable System
DSNs to be hardcoded into clients at the settings pre-
specified?

He was talking of Group Policy on the Domain Controller -
do you think this is the way to go about it?

Please help!

skc
 
Reply With Quote
 
 
 
 
=?Utf-8?B?RXJpayBTemV3Y3p5aw==?=
Guest
Posts: n/a
 
      23rd Jun 2004
ODBC DSNs are stored in the Registry; it should be possible to create a registry file that will include the system DSN settings and than create a script that will merge it into the client's registry hives and push it with a GPO in AD.

Take a look at these keys to get you started:
HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBC.INI\[yourdatasource]
HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBC.INI\ODBC Data Sources\[yourdatasource]

Good Luck,

-Erik

"skc" wrote:

> A user creates forms in dBase5.7 and now uses a SQL2000
> database on our network to access tables via dBase.
>
> He has made an application that requires an ODBC DSN
> (System DSN) to be created on the local machine and this
> gets posted to a config file called BDE Configuration
> (part of dBase) and this enables the application to work.
>
> He is now thinking of rolling out this application to
> users on the network - around 30 machines. Instead of
> going round to each machine and adding a System DSN is
> there an easy way to do this from one central source?
> Furthermore, if you look at the footers for System DSN,
> File DSN and User DSN, the File DSN is sharable but not
> compatible with dBase's BDE Config.
>
> So my question is: Is there a Utility to enable System
> DSNs to be hardcoded into clients at the settings pre-
> specified?
>
> He was talking of Group Policy on the Domain Controller -
> do you think this is the way to go about it?
>
> Please help!
>
> skc
>

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Access link ODBC to SQL table,path to ODBC -recent install? =?Utf-8?B?TFdpbkZsb3JpZGE=?= Microsoft Access External Data 1 28th Sep 2006 02:32 AM
ODBC Error 3151 on conection of MYSql ODBC Connection =?Utf-8?B?a2ZzY2hhZWZlcg==?= Microsoft Access VBA Modules 0 24th Mar 2006 07:45 PM
ODBC driver shows in registry key but not under ODBC Administrator =?Utf-8?B?bG91XzE=?= Windows XP General 5 8th Dec 2005 08:27 PM
ODBC Call Failed with complete Connect string but not with ODBC only. =?Utf-8?B?QmV0YWNvbg==?= Microsoft Access Form Coding 1 19th Feb 2004 01:05 PM
ODBC reinstallation required opening ODBC administrator. Jose Forero Microsoft Windows 2000 0 3rd Oct 2003 08:37 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:30 PM.