Further debugging with
USE DBI;
USE DBD::ORACLE;
Gives following error
The specified CGI application misbehaved by not returning a complete set of
> HTTP headers. The headers it did return are:
>
>
> Can't load 'D:\Perl\site\lib/auto/DBD/Oracle/Oracle.dll' for module
> DBD::Oracle: load_file:The specified module could not be found at
> D:\Perl\lib/DynaLoader.pm line 206.
> at d:\Inetpub\wwwroot\cgi-bin\olr.pl line 19
> Compilation failed in require at d:\Inetpub\wwwroot\cgi-bin\olr.pl line
19.
> BEGIN failed--compilation aborted at d:\Inetpub\wwwroot\cgi-bin\olr.pl
line
> 19.
I have also tried to reinstall DBI and DBD:Oracle packages.
My environmenyt is
Windoes NT, Oracle 8, Active Perl 5.6.1 buid 630.
Thanks
> -----Original Message-----
> From: Parmod Chander Goyal
> Sent: Sunday, August 24, 2003 9:39 PM
> To: 'Honza Pazdziora'
> Cc: [EMAIL PROTECTED]
> Subject: RE: DBI does not give any error.
>
>
>
> My perl script looks like
>
> use DBI;
> my $dbh = DBI->connect('dbi:Oracle:prod', 'user', 'password');
>
> DBI is not returining any value here, I have also tried to
> use RaiseError but to no use.
>
> Should I reinstall tPerl along with these modules if yes then
> where can I find installation procedure for Win NT>
>
> Thanks
> Parmod
>
> > -----Original Message-----
> > From: Honza Pazdziora [mailto:[EMAIL PROTECTED]
> > Sent: Sunday, August 24, 2003 5:36 PM
> > To: Parmod Chander Goyal
> > Cc: [EMAIL PROTECTED]
> > Subject: Re: DBI does not give any error.
> >
> >
> > On Sun, Aug 24, 2003 at 01:53:25AM +0530, Parmod Chander
> Goyal wrote:
> > >
> > > I am new to perl and facing a problem in existing setup.
> > >
> > > My perl executable .pl file is not giving any error. I have
> > debugged it and
> > > found that @dbh=DBI->connect() is not working (these were
> > working for last 1
> > > year).
> >
> > You gave us list of your modules, but you didn't give use a
> feeling of
> > your code. So, how does your .pl script look like? Is it like
> >
> > use strict;
> > use DBI;
> > my $dbh = DBI->connect('dbi:Oracle:prod', 'user', 'password',
> > { RaiseError => 1 });
> >
> > ?
> >
> > --
> > --------------------------------------------------------------
> > ----------
> > Honza Pazdziora | [EMAIL PROTECTED] |
> > http://www.fi.muni.cz/~adelton/
> > .project: Perl, mod_perl, DBI, Oracle, auth. WWW servers,
> > XML/XSL, ...
> > Only self-confident people can be simple.
> >
>