Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Deploy ODBC Connections to Workstations Automatically

Posted on 2009-07-06
2
652 Views
Last Modified: 2012-05-07
I am developing some Access databases that require ODBC connections to the SQL Server. Currently I have to go to each machine and add the ODBC connection through the control panel. I have a Windows Server domain environment and login scripts. Is there a way to deploy these connections (via login script or group policy) automatically without having to visit each machine manually?
0
Comment
Question by:filtrationproducts
2 Comments
 
LVL 17

Accepted Solution

by:
pssandhu earned 50 total points
ID: 24787725
Hi, this link explains how you can create a registry key for creating ODBC connection:
http://www.albari.info/index.php/computer/46-programming/37-create-odbc-dsn-automatically-in-vbnet-deployment
And this link explains how you can push them to remote computers on a network:
http://www.eggheadcafe.com/aspnet_answers/windowsgroup_policy/Jun2006/post26997220.asp
Hope this helps.
P.
0
 
LVL 2

Expert Comment

by:corptech
ID: 24791083
Create a file  based ODBC DSN and save it on a shared network drive.  Then connect all of the SQL server tables into access using this file DSN.  As long as the workstation has access to the network drive, the won't need anything else installed.  
0

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Issue: Unstable cursor in Windows XP and Windows runs extremely slow in that any click will bring up the Hour glass (sometimes for several seconds before giving you what you want) . Troubleshooting Process and the FINAL FIX: This issue see…
Use this article to create a batch file to backup a Microsoft SQL Server database to a Windows folder.  The folder can be on the local hard drive or on a network share.  This batch file will query the SQL server to get the current date & time and wi…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

808 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question