Click here to Skip to main content
12,634,030 members (23,529 online)
Rate this:
 
Please Sign up or sign in to vote.
See more: VC6 C++
Hi,

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.

Thanks.
Posted 20-Feb-12 19:33pm
Updated 20-Feb-12 21:47pm
v3
Comments
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
 
good
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.
  Permalink  

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 | Mobile
Web02 | 2.8.161208.2 | Last Updated 24 Feb 2012
Copyright © CodeProject, 1999-2016
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