web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

ODBC connection error! Please help

(0) ShareShare
ReportReport
Posted on by

I'm trying to create an ODBC data source. Goal is to import data from Microsoft Access database. Following are General source data format.

DSN Type: System DSN

DSN Location: Client

Name: xxx

Connection String: Driver=Driver do Microsoft Access (*.mdb);DBQ=Z:\ESI_Data.mdb;Description=ESI database;DriverId=25;FIL=MS Access;PWD=;SafeTransactions=0;UID=Admin;ImplicitCommitSync=;MaxBufferSize=2048;PageTimeout=5;Threads=3;UserCommitSync=Yes;

Validate:

System Name: xxx

Error Message when Validate is: Test Connection failed-ERROR[IM002][Microsoft][ODBC Driver Manager]Data source name not found and no default driver specified.

Any help will be greatly appreciated! Thanks in advance.

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Umesh Pandit Profile Picture
    9,315 User Group Leader on at

    Hi Lhadol,

    Which Os? Windows Server 2008 r2? Version 64bit or 32bit? Try to run as administrator.

  • Suggested answer
    Lauras U Profile Picture
    955 on at

    I had this problem with Dynamics ax DMF (Data import export framework) source data formats when DSN type was System DSN. While User DSN was working. I added system DSN in windows ODBC Data Source administration. AX was throwing nullreferenceexception error.

    OS is windows server 2008 R2 64 bit

    I solved this with following workflow:

    - Open %SystemRoot%\SysWOW64

    - Open odbcad32.exe (32 bit ODBC Data Source administration)

    - Set up system DSN there

    Now Dynamics ax DMF can see both DSN (64 bit and 32 bit)

  • Community Member Profile Picture
    on at

    Windows Server 2012 R2.  Option to run both 64 bit and 32 bit? Any recommendations?

  • Suggested answer
    Lauras U Profile Picture
    955 on at

    have you tried Control Panel\All Control Panel Items\Administrative Tools ?

    http://imgur.com/bYODfyl

  • Community Member Profile Picture
    on at

    1.

    OS is windows server 2008 R2 64 bit

    I solved this with following workflow:

    - Open %SystemRoot%\SysWOW64

    - Open odbcad32.exe (32 bit ODBC Data Source administration)

    Followed above steps in the AX DMF

    Set up System DSN with ODBC Microsoft Access Setup

    DSN Location is Client

    Selected Database from Local C drive with .mdb files in a folder.

    Selected Network Drives

    Created ODBC type in Source data formats but when validated the path on connection string, gets error message!

    "Test Connection failed-ERROR[IM002][Microsoft][ODBC Driver Manager]Data source name not found and no default driver specified"

          So after so many attempts I can't seem to get this to work.

    2.

    Another alternative I'm thinking about is converting Access 97 database to SQL server database. Anybody has done this sort of migration?

    Any help will be greatly appreciated! Thanks in advance!

  • Community Member Profile Picture
    on at

    Running Window Server 2012 R2

    Microsoft Dynamics AX 64 bit

  • Roger M. Profile Picture
    302 on at

    I experienced the same issue while trying to access SQL Server via OdbcConnection. At the end the problem was where I created the ODBC. The ODBC should be in the AOS server. I created it in the client where I run AX client. Did you try it?

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#1
Priya_K Profile Picture

Priya_K 4

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans