I am working on ASP.NET application. I try to connect to database in Adaptive Server Enterprise using Sybase.Data.AseClient dll. Connection string that I am using is 'Data Source='host';Port='5000';UID='user';PWD='password';Database='database';'. When Application tries to connect to database exception is thrown. 'Client can not establish connection'.
I tried connecting to database by trying to create ODBC Data Source. When I try to create DSN using ASE driver. DSN creation also fails.
What should I check ? Do I need to do some settings in database server? I am using all developer editions and my database and application are on the same machine.
I can connect to database Using Sybase Central. I can run queries on same database using Interactive SQL tool.