Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^3: DBI Module, 32-bit Perl on 64-bit Windows 7: ODBC Connection confusion

by mvaline (Friar)
on Feb 08, 2011 at 05:23 UTC ( [id://886885]=note: print w/replies, xml ) Need Help??


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...

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://886885]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (5)
As of 2024-04-26 09:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found