[Microsoft] [ODBC Driver Manager] in the specified DSN, the architecture between the driver and the application does not match

Source: Internet
Author: User
Tags driver manager dsn

Environment:

Operating system: 64-bit WIN7 database: SQL Server SP1 Development language: Java EE

Error prompting when Servlet connects to database:

[Microsoft] [ODBC Driver Manager] in the specified DSN, the architecture between the driver and the application does not match

Workaround:

    Upgrade SQL Server SP SP1 to SQL Server # SP SP4 or later. Enable ODBC configuration program, SQL Server comes with two versions of the ODBC Configurator:

   64 location: C:\windows\system32\odbcad32.exe

   32 Location: C:\windows\sysWOW64\odbcad32.exe
The correct system DNS is configured with the 32-bit version of ODBC and can be performed normally.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.