Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: Re: Oracle and Perl

by notsoevil (Pilgrim)
on Mar 29, 2001 at 01:02 UTC ( [id://67947]=note: print w/replies, xml ) Need Help??


in reply to Re: Oracle and Perl
in thread Oracle and Perl

Okay .. further development.

They have now installed DBD::ODBC. Using a DSN (LWCWeb which does connect to Oracle and work from there), I did the following:

my $dbh = DBI->connect('dbi:ODBC:LWCWeb', $user, $pass);

Which returns:

DBI->connect(LWCWeb) failed: Specified driver could not be loaded due +to system error 5 (Oracle73 Ver 2.5).

Does this seem to be close to what the last error message said? That the driver (I am assuming the DBD module, though I may be wrong) could not be loaded?

Is this an installation (of Perl, Modules or otherwise) problem do you think?

Thanks for any help ..

--
notsoevil
--
Jeremiah 49:32 - And their camels shall be a booty. . .

Replies are listed 'Best First'.
(tye)Re: Oracle and Perl
by tye (Sage) on Mar 29, 2001 at 01:04 UTC

    C:\> net helpmsg 5 Access is denied. C:\>
    Yep, same error.

            - tye (but my friends call me "Tye")
      Any suggestions as to what I should ask (tell!) them to do about it?

      --
      notsoevil
      --
      Jeremiah 49:32 - And their camels shall be a booty. . .

        Go to http://www.sysinternals.com/ and grab a file system monitor and see if you can tell if there is some file that can't be accessed.

        Use User Manager to turn on accounting for failed object access attempts and look in the event log to see what object can't be accessed.

        Another possibility is that the DllMain code that gets run to initialize the dll when it is loaded is the cause of the error. Check the documentation for your database driver for hints.

        If you are up to it, then you could modify win32.c and rebuild perl to allow you to load a dll without DllMain getting run and see if the behavior changes (or you could just roll your own dll loader to test this).

                - tye (but my friends call me "Tye")

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (5)
As of 2024-04-24 22:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found