Click here to Skip to main content
15,867,851 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Need to connect to Ssybase SQL Anywhere database 5.0 through asp.net

I am trying to connect to SQL anywhere 5.0 using below connection string
sConnString = 
" Driver=Sybase SQL Anywhere 5.0;Uid=dba;Pwd=sql;EngineName=Tenmax;DatabaseName=Tenmax;Start=c:\sqlany50\win32\dbclient.exe;DatabaseSwitches=-commandSwitch1 -commandSwitch2;DatabaseFile=E:\Applications\VinayNandaLIL\Tenmax.db;AutoStop=NO;"

It is giving below error
ERROR [08001] [Sybase][ODBC Driver]Unable to connect to database server: unable to start database engine

ERROR [01000] [Microsoft][ODBC Driver Manager] The driver doesn't support the version of ODBC behavior that the application requested (see SQLSetEnvAttr).

Please guide.
Posted
Updated 4-Sep-14 1:36am
v2

1 solution

 
Share this answer
 
Comments
Member 10939723 11-Sep-14 8:05am    
Dear

Same is posted by me. Still the problem is not resolved.
thatraja 11-Sep-14 8:13am    
Oh, but the thread's status is "Answered". You could post following question there as they gave you initial suggestions.
Member 10939723 11-Sep-14 8:16am    
I have already tried with the solutions provided... but not reach to the end result
thatraja 11-Sep-14 8:19am    
Create a new thread(with complete details) here or there. I don't have experience on sybase but still could help you.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900