DBD sybase error! please help..

Discussion in 'Perl' started by Vicky, Jul 6, 2004.

  1. Vicky

    Vicky Guest

    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
     
    Vicky, Jul 6, 2004
    #1
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Vince

    DBD::Sybase install errors

    Vince, Aug 22, 2003, in forum: Perl
    Replies:
    0
    Views:
    1,391
    Vince
    Aug 22, 2003
  2. Vijoy Varghese

    Installing DBD::Sybase on MAC

    Vijoy Varghese, Oct 20, 2003, in forum: Perl Misc
    Replies:
    4
    Views:
    305
    Vijoy Varghese
    Oct 23, 2003
  3. Richard Gration
    Replies:
    1
    Views:
    154
    Richard Gration
    Jul 7, 2005
  4. Richard Gration
    Replies:
    5
    Views:
    311
    Richard Gration
    Jul 7, 2005
  5. Jim Cochrane
    Replies:
    0
    Views:
    124
    Jim Cochrane
    Aug 25, 2007
Loading...

Share This Page