Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Perl > DBD sybase error! please help..

Reply
Thread Tools

DBD sybase error! please help..

 
 
Vicky
Guest
Posts: n/a
 
      07-06-2004
Hi,
Here it the test perl code to connect to my Sybase database server....
********************************

use CGI;
use DBI;

# Connect to database.

my $My_dbh =
DBI->connect("DBI:Sybase:myserver","myuser","mypasswor d",{'RaiseError' =>
1});

**************************************

I get following Error(s):

The context allocation routine failed.

the following problem casued the failure:

Invalide context version.

DBI connect('','myserver',...) failed: OpenClient message: LAYER=(6)
ORIGIN=( SEVERITY=(5) NUMBER=(3)

Server SYBASE, database

Message String: ct_connect(): dircetory service layer: internal directory
control layer error: Requested server name not found.



here myserver, myuser & mypassword are dummies...

Thanks in advance..



--Vicky


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Using DBD::pNET or DBD::Proxy with DBD::Oracle Jim Cochrane Perl Misc 0 08-25-2007 12:10 AM
DBD::Sybase / DBD::ODBC + FreeTDS woes - placeholders and implicit datatype conversions Richard Gration Perl Misc 5 07-07-2005 11:46 AM
DBD::Sybase / DBD::ODBC + FreeTDS woes - placeholders and implicit datatype conversions Richard Gration Perl Misc 1 07-07-2005 11:41 AM
DBD::mysqlPP v DBD::mysql Mike Solomon Perl Misc 1 02-16-2004 02:07 PM
DBD::CSV questions and is there a DBD::XML? Andrew Crook Perl Misc 2 09-11-2003 11:17 AM



Advertisments