Click here to Skip to main content
15,949,686 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
We have a customer running a new Windows 7/64 system.

Our 32 bit VB.NET 2008 application uses the MyODBC connector - DSNLESS.

However, for 1 particular Windows 7/64 customer only that we can see no matter which MyODBC connector we try we always get
-2147467259 Hex(80004005) [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified

We have tried 6 different versions. Both the 32 bit and 64 bits versions of 3.51, 5.1.11 and 5.1.8 (I believe). It always fails on her machine and never fails anywhere else. We have tried it on 3 different systems here and it always works.

Any ideas?
Thanks
Posted
Updated 17-Aug-12 8:40am
v2

1 solution

In a 64 bit Windows system you have to define the data source using the 32 bit version of the ODBC manager if you're running an 32 bit application.

To run the 32 bit version, use for example command prompt and enter:
%windir%\SysWOW64\odbcad32.exe

For more information refer for example to http://support.microsoft.com/kb/942976[^]
 
Share this answer
 

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900