Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re: Switching from ODBC to DBI

by dctechie (Initiate)
on Apr 11, 2011 at 19:43 UTC ( [id://898766]=note: print w/replies, xml ) Need Help??


in reply to Switching from ODBC to DBI

Hey guys. thanks for the responses. Actually there's nothing wrong with this app when it's run on a 32 bit OS. this issue only started happening last week when I copied the code to a windows 2008 64 bit server to begin testing. I may just push them to migrate to windows 2003 instead of windows 2008. the only variable is the 64 bit OS. Other than that, the code works fine. Have you guys had to make any changes to PERL code that runs fine on 32 bit systems to enable it to run on 64 bit systems?

Replies are listed 'Best First'.
Re^2: Switching from ODBC to DBI
by sundialsvc4 (Abbot) on Apr 11, 2011 at 20:06 UTC

    /me nods...
    I expected that.

    The place to begin is to carefully test all of the other, non-Perl applications to determine if any of them have difficulties regarding ODBC.   Even if “you are sure” that it “must be” okay, and even though you may feel, “oh, that’s ridiculous, how could there be?” ... well, as I have heard it said, “Trust, but Verify.™”

    The next thing to investigate is whether you have the 64-bit version of whatever driver-toolchain(s) your application is now using.   (This is where you are for the first time specifically investigating this application’s technologies and interfaces.)   The most likely culprit is, as I have also heard it said, “a ‘bumpy thunky’ problem.”   That is to say, 64-vs.-32-bit incompatibilities.   They pop up all over the place but they are centrally located and thus centrally fixed.

    In any case, while you may find that you have to make some changes to an application, it is much more likely to expect that you will simply need to reconfigure and/or upgrade some specific piece(s) of middleware... drivers and such.   Arguments in favor of a “Cowabunga!!” approach to a problem like this are IMHO not sustainable.

Re^2: Switching from ODBC to DBI
by tomfahle (Priest) on Apr 12, 2011 at 06:15 UTC

    I had an issue on a customer site - the guys over there installed a 32 bit Perl on a 64 bit system.

    However: Write some tests with debugging and tracing enabled to track down the issues.

    HTH,
    Thomas

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (1)
As of 2024-04-25 00:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found