Solved

vb6 exe in windows 7 getting error Microsoft ODBC Driver Manager Data Source name not found and no default driver specified

Posted on 2014-03-29
3
2,269 Views
Last Modified: 2014-04-26
We have one v6.exe application in windows 2003 server .short cut of this vb6 exe working fine in all windows xp client pc with help of  system dsn name as ABC( for sqlconnection string). Now we changed all windows xp client pc to windows 7 and accessing the application from  windows 2003 server . All most all are working (95%) fine. Some screen are not loading and getting error as Microsoft ODBC Driver Manager Data Source name not found and no default driver specified. I am 100% sure that my  connection string are correct.  Only thing is we are using both system DSN and user DSN in windows 7 client pc.
Before win xp client PC we used only user DSN.  if use both dsn in windows 7 only our application running the 95%. So my doubts is , why some screen are not working . Why its is  showing Microsoft ODBC Driver Manager Data Source name not found and no default driver specified error in some screen. Plz let me give some tips. I can't make windows 7 compatibility mode. Its showing as disable mode.
May be if it There are 2 versions of ODBC to worry about on 64-bit machines: .
Or any extra dll we need to add it ?


I saw one thing behind it. Where ever the ADODC contol placed  in the form , I am getting issue there also. So ADODC  is not working in windows 7
0
Comment
Question by:imran786
3 Comments
 
LVL 15

Accepted Solution

by:
eemit earned 500 total points
ID: 39963933
To manage a data source that connects to a 32-bit driver under 64-bit platform,
use c:\windows\sysWOW64\odbcad32.exe
0
 
LVL 46

Expert Comment

by:Martin Liss
ID: 40024198
I've requested that this question be deleted for the following reason:

Not enough information to confirm an answer.
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article will show, step by step, how to integrate R code into a R Sweave document
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
The viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

856 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question