Thread View: sybase.public.sqlanywhere
1 messages
1 total messages
Started by Chris Keating [Sybase iAnywhere]
Mon, 20 Apr 2009 16:43
Re: Connect To ASA 9 using OLE DB with PowerBuilder 9
Author: Chris Keating [Sybase iAnywhere]
Date: Mon, 20 Apr 2009 16:43
Date: Mon, 20 Apr 2009 16:43
71 lines
3638 bytes
3638 bytes
You need to 1) Provide the engine name parameter 2) Likely provide the communication links parm i.e., "PROVIDER='ASAProv.90',PROVIDERSTRING='eng=aa;dbn=aa;links=TCPIP'" Carlos wrote: > This is the scenario > > pc with windows xp , sql 9 (client) > i can login using interactive sql to the service in the linux pc, but > can't make a connection using ole db, it brings up odbc dialog. > > pc with linux , sql 9 (server) > database running , service AA, database AA > > both pc are running in the same network and subnet. > > please tell me any additional info. > thx > > > "Chris Keating [Sybase iAnywhere]" <keating_no@spam_sybase.com> escribi� > en el mensaje de noticias:49ec8ae2$1@forums-1-dub... >> You have not provided enough information to connect. >> >> Possible cause: You do not have an engine that is running and the >> autostart fails because you have not specified which database file you >> would like to start and connect. >> >> >> Recommendation: >> 1) Specify ENG=<engine_name> as a best practice >> 2) If autostarting the database, add DBF=<path and filename of DB> to >> identify the database >> >> If you are attempting to connect to an aleady running database, the >> DBF is not needed. >> >> >> >> SQLCA.DBMS = "OLE DB" >> SQLCA.LogPass = <***> >> SQLCA.LogId = "dba" >> SQLCA.AutoCommit = False >> SQLCA.DBParm = >> "PROVIDER='ASAProv.90',PROVIDERSTRING='eng=asademo9;dbn=asademo;dbf=c:\Program >> Files\Adaptive Server Anywhere 9\asademo.db'" >> >> Carlos wrote: >>> I'm trying to connect to a database running ASA 9 in a linux pc from >>> powerbuilder 9. I can't seem to find the right parameters, when I >>> test the >>> connection the ODBC dialog pops up, and I want to make the connection >>> without ODBC. >>> Here's the connection params... please help me telling what I'm doing >>> wrong. >>> (the server is starting as fernando, and the database is fernando.db) >>> >>> // Profile fernando >>> SQLCA.DBMS = "OLE DB" >>> SQLCA.LogPass = <***> >>> SQLCA.LogId = "dba" >>> SQLCA.AutoCommit = False >>> SQLCA.DBParm = >>> "PROVIDER='ASAProv.90',DATASOURCE='null',LOCATION='fernando',PROVIDERSTRING=''dbn=fernando''" >>> thx in advance >
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads