Solved

Export current DSN settings

Posted on 2003-11-27
2
456 Views
Last Modified: 2012-08-13
Is there a way to save the current collection of DSN settings to be re-installed after a server rebuild?
0
Comment
Question by:juststeve
2 Comments
 

Author Comment

by:juststeve
Comment Utility
system DSNs, that is
0
 
LVL 30

Accepted Solution

by:
nmcdermaid earned 250 total points
Comment Utility
They are in the registry.

1. Go into Regedit (Start/Run, then type Regedit)
2. Find this Hive: HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBC.INI
3. Select your ODBC connection then press Registry/Export Regitry File and export it
4. Select this Hive: HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBC.INI\ODBC Data Sources
5. Press Registry/Export Regitry File and export it
6. Open the REG file created in step 5 and Copy the single line that has your ODBC connection in it
7. Open the REG file created in step 3 and Paste the single line that has your ODBC connection in it (anywhere after the first line) then save this file
8. When you double click on the file you created in step 7, it will add your ODBC connection to the registry.

You can grab all of your DSN's this way and put them in one file.

0

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

JSON is being used more and more, besides XML, and you surely wanted to parse the data out into SQL instead of doing it in some Javascript. The below function in SQL Server can do the job for you, returning a quick table with the parsed data.
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Using examples as well as descriptions, and references to Books Online, show the documentation available for datatypes, explain the available data types and show how data can be passed into and out of variables.
Viewers will learn how the fundamental information of how to create a table.

771 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now