Click here to Skip to main content
13,292,205 members (57,619 online)
Rate this:
Please Sign up or sign in to vote.
See more:

I am developing an application in mfc in which I am using ODBC driver for connecting Access database. On my machine it works properly but if I am trying to run .exe on another machine it gives error as- "Data source name not found and no default driver".
Please give me solution.

Posted 20-Feb-12 19:33pm
Updated 20-Feb-12 21:47pm
Varun Sareen 21-Feb-12 0:39am
The Database may not be present at the client side or the database name may be different
SafarTimura 21-Feb-12 13:14pm
Make sure that the Driver is installed and setup correctly on the other machine.

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

Either the ODBC name does not exist on the other machine or the ODBC drive does not exist on the other machine.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web04 | 2.8.171207.1 | Last Updated 24 Feb 2012
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100