I am trying to connect sql anywhere12 database to my .net project but while connecting to the database but the connection can not be opened
please help me why this things are happening inside the program im just a beginner in sql anywhere
Your connection string will only connect to a running server ... and it is likely you have additional errors if you have such a server already running.
will only connect to a server with a "EngineName/ServerName" of 'demo12' and a "DataBaseName" of 'sql'. The latter may also need to be changed to DBN=demo if you have a server running with the sample demo.db running on it.
If you, otherwise, intend to use the SQL Anywhere created sample "Demo" data source you probably should change that to use DSN instead
If you want to a server to autostart a database that you will need to at least add the DBF= parameter.
answered 21 Feb, 09:15
Nick Elson S...