DBD sybase error! please help..

V

Vicky

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","mypassword",{'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=(8) 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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,012
Latest member
RoxanneDzm

Latest Threads

Top