I am using C++ code to make a connection to database (Sybase 12.5 version) with Sybase 12.5 driver

I am using ConnectString = "driver={Sybase ASE ODBC
Driver};uid=XXX;pwd=XXXX;db=XXXX;srvr=XXXX"; Is= set ansinull off

The error I get is: Error Type: Microsoft OLE DB Provider for ODBC Drivers[MERANT][ODBC Sybase ASE driver]Insufficient information to connect to the data source.

Please help me regarding this

Dublin, Ireland