If I go into control panel and ODBC sources I cannot see the odbc driver
from Sage as it is not 64 bit. Going into C:\windows\syswow64 and running
odbcad32 enables me to add the 32 bit driver as a data source and I can see
it listed in System DSN. This works at the client site where a java client
running on a 32 bit XP system can connect to the ODBC driver, however, when I
try to run the program on the server itself it cannot connect.
Because it works in a 64 bit Windows 7 environment I don't think it's simply
a 64 bit issue. I think it might be a security policy issue but I don't know
where to start to look for such a problem.
on 64 bit sql servers the tools are still 32 bit. try to create an
alias in SQL Server Configuration and point the ODBC DSN at the alias.
Then, if your system is 64-bit, you have to add a (system or user) DSN via
c:\windows\syswow64\odbcad32.exe; if your system is 32-bit, you have to add a
DSN via c:\windows\system32\odbcad32.exe.
Given the error message, it doesn't look like there is any permission issue.
The ODBC driver manager will only read the registry to determine which driver
it should load based on the data source information. I suppose your
credential should have registry read permission, right? Instead, I think that
the most likely reason is that you may forget to add the system / user DSN in
the client.
If it still doesn't work, you can try to capture a BidTrace log or a ODBC
Trace log, and paste it here so that we can analyze it.
Thanks,
Ming.
WDAC Team, Microsoft.
P.S. We recommend customers to use the forum to ask questions in the future,
where you can obtain a faster response (Forum is at:
http://social.msdn.microsoft.com/forums/en-US/sqldataaccess/threads/)
"Alen Teplitsky" wrote:
> .
>
Thanks for your help.