Re: DBD::ADO connect error...

2004-08-18 Thread Steffen Goeldner
amonotod wrote:

  From: amonotod [EMAIL PROTECTED]
  Date: 2004/08/17 Tue PM 08:25:11 GMT
 
  Use of uninitialized value in subroutine entry at C:/Perl/site/lib/DBI.pm line 595.
  DBD::ADO::dr connect warning:  at C:/Perl/site/lib/DBI.pm line 595.

 Sorry, I didn't mean to forget:
 OS:   Windows 2000, SP4
 Perl: ActiveState v5.8.3 built for MSWin32-x86-multi-thread, build 809
 DBI:  1.43, built on 11 Aug 2004
 ADO:  $VERSION = '2.76';

Don't know what triggers the 'uninitialized' warning.
Can you try DBD::ADO 2.91?


Steffen


Re: DBD::ADO connect error...

2004-08-18 Thread amonotod
}  From: Steffen Goeldner [EMAIL PROTECTED]
 Date: 2004/08/18 Wed AM 08:25:50 GMT

 Don't know what triggers the 'uninitialized' warning.

Line 595 of DBI.PM is where the username and password are passed off 
to the $drh.  Since the password is null (I'm connecting to an Access 
DB with no security, so username is Admin and password is ''), perl 
is complaining that the value is unitialized.  I've tried passing \0, 
\0, undef(), '', and , all to no avail.  

 Can you try DBD::ADO 2.91?

} ppm install DBD::ADO
} 
} Install 'DBD-ADO' version 2.91 in ActivePerl 5.8.0.802.
} 
} Downloaded 27983 bytes.
} Extracting 10/10: blib/arch/auto/DBD/ADO/.exists
} Installing C:\Perl\html\site\lib\DBD\ADO.html
} Installing C:\Perl\html\site\lib\DBD\ADO\Const.html
} Installing C:\Perl\html\site\lib\DBD\ADO\TypeInfo.html
} Installing C:\Perl\site\lib\DBD\ADO.pm
} Installing C:\Perl\site\lib\DBD\ADO\Const.pm
} Installing C:\Perl\site\lib\DBD\ADO\TypeInfo.pm
} Successfully installed DBD-ADO version 2.91 in ActivePerl 5.8.0.802.

Installed successfully, but the first and last line are incorrect.  My 
perl -v is:

} This is perl, v5.8.3 built for MSWin32-x86-multi-thread
} (with 8 registered patches, see perl -V for more detail)
} 
} Copyright 1987-2003, Larry Wall
} 
} Binary build 809 provided by ActiveState Corp. http://www.ActiveState.com
} ActiveState is a division of Sophos.
} Built Feb  3 2004 00:28:51
} 
} Perl may be copied only under the terms of either the Artistic License or the
} GNU General Public License, which may be found in the Perl 5 source kit.
} 
} Complete documentation for Perl, including FAQ lists, should be found on
} this system using `man perl' or `perldoc perl'.  If you have access to the
} Internet, point your browser at http://www.perl.com/, the Perl Home Page.

Anyway, getting past that...

The errors went away. ;-)  Hm...

 Steffen

Thank you for the reply, I appreciate it,
amonotod


--

`\|||/ amonotod@| sun|perl|windows
  (@@) charter.net  | sysadmin|dba
  ooO_(_)_Ooo
  _|_|_|_|_|_|_|_|


replyAll
Description: null


DBD::ADO connect error...

2004-08-17 Thread amonotod
Howdy,
  I have a script (attached) that creates an Access 2K database, 
connects to it, creates a table, and pops some data into it.  It all 
works, no problem.  However, I'm getting the following messages 
on the console (CMD prompt):

Use of uninitialized value in subroutine entry at C:/Perl/site/lib/DBI.pm line 595.
DBD::ADO::dr connect warning:  at C:/Perl/site/lib/DBI.pm line 595.

  I'd like to know how to get rid of the messages...  Do I need an 
error_handler for DBD::ADO?  Does it even support one?

Thanks,
amonotod


--

`\|||/ amonotod@| sun|perl|windows
  (@@) charter.net  | sysadmin|dba
  ooO_(_)_Ooo
  _|_|_|_|_|_|_|_|


ADO_Execute.pl
Description: Binary data


Re: DBD::ADO connect error...

2004-08-17 Thread amonotod
 From: amonotod [EMAIL PROTECTED]
 Date: 2004/08/17 Tue PM 08:25:11 GMT

 Use of uninitialized value in subroutine entry at C:/Perl/site/lib/DBI.pm line 595.
 DBD::ADO::dr connect warning:  at C:/Perl/site/lib/DBI.pm line 595.

Sorry, I didn't mean to forget:
OS:   Windows 2000, SP4
Perl: ActiveState v5.8.3 built for MSWin32-x86-multi-thread, build 809
DBI:  1.43, built on 11 Aug 2004 
ADO:  $VERSION = '2.76';




--

`\|||/ amonotod@| sun|perl|windows
  (@@) charter.net  | sysadmin|dba
  ooO_(_)_Ooo
  _|_|_|_|_|_|_|_|