Friday, September 23, 2011

Create a 32-bit DSN on 64-bit machine for SQL Server


During the install of an application on a 64-bit Windows machine, the application was unable to list the ODBC System DSN because it had been setup as a 64-bit DSN and the application needed a 32-bit system DSN for connectivity to SQL Server.  In this tip, we cover how to create a 32-bit DSN on 64-bit machine.


Before creating the DSN make sure the SQL Server Native client component is installed on the machine. You can install the SQL Server native client either from the SQL Server media or by downloading it from
Below are the steps to create a 32-bit DSN on a 64-bit machine.
Step 1On the 64-bit machine where the application is installed, open the Microsoft Windows ODBC Data Source Administrator using one of the methods shown below.
Open C:\WINDOWS\SYSWOW64\odbc32.exe or type %systemdrive%\Windows\SysWoW64\Odbcad32.exe in the Run window.

syswow64 odbc

Step 2 
Select the System DSN tab and click on the Add... button. 

system dsn

Step 3
Select the SQL Server Native Client 10.0 from the list and click on the Finish button. 

create new data source

Step 4 
Specify the data source name, description and the SQL Server instance name. Click Next to proceed. 

create new data source sql server

Step 5
Select the authentication mode as per the requirement. For SQL authentication, specify the SQL login name and password. Click Next to proceed. 

create new data source sql server

Step 6
Select the desired application database from drop down list and click Next

create new sql server data source

Step 7 
Click on Finish and test the data source connectivity. 

complete sql server odbc setup

Next Steps

  • Document the DSN details for the application connectivity
  • As you may have noticed, the real trick is running the 32-bit version of the ODBC Data Source Administrator


Nexus said...

The Bluetooth modules provide a platform to quickly and safely go into production with competitive and advanced features.

Post a Comment