in reply to Re^2: DBI Module, 32-bit Perl on 64-bit Windows 7: ODBC Connection confusion
in thread DBI Module, 32-bit Perl on 64-bit Windows 7: ODBC Connection confusion

According to KB942976, system DSNs are stored in HKEY_LOCAL_MACHINE\Software\ODBC\ODBC.INI. Registry redirection is enabled for this key, meaning that system DSNs for 64-bit and 32-bit applications are separated and only visible in the corresponding version of ODBCAD32. User DSNs are stored in HKEY_CURRENT_USER\Software\ODBC\ODBC.INI for which registry redirection is not enabled. Consequently, both versions of ODBCAD32 see all user DSNs.

If you had created a 32-bit system DSN and Perl couldn't use the DSN, it must be the case that the DBI module was pulling the registry key from the 64-bit registry and using the 64-bit SQL Server ODBC Driver. Can you provide the actual error you received?

Replies are listed 'Best First'.
Re^4: DBI Module, 32-bit Perl on 64-bit Windows 7: ODBC Connection confusion
by mpettis (Beadle) on Feb 08, 2011 at 05:37 UTC
    i'll try to recreate tomorrow -- away from work and that env now...