We are currently evaluating the Sybase Adaptive Server
Anywhere 9.0 database for Pocket PC development. We are
using Visual Studio .net 2003 and the Pocket PC Emulator to
develop and test our Smart Device Extensions application.
The OS on the Pocket PC Emulator is 3.0.11171(Build 11178).
We are unable to connect to the ASA database.
The .asa file is correctly copied to the application
folder(i.e \program files\my_application\) on my Pocket PC
Emulator emulator machine. However the application gives an
error on "conn.Open();" line i.e we are not able to connect
to the .asa database on the Pocket PC Emulator. The error
that we are getting is "Cannot Find .ini file".
I read somewhere that we need to create a log file on the
Pocket PC machine so that the database engine knows the
database to connect to.
I have added the code down below.
private void btnConnect_Click(object sender,
AsaConnection conn = new AsaConnection("Data
catch( AsaException ex )
MessageBox.Show( ex.Errors.Message );
1) Any pointers to where we could be going wrong??.
2) Some samples which detail simple database examples using
ASA database on a Pocket PC 2003 emulator??.
3) some documents to developing and deploying applications
using ASA 9.0 database for the Pocket PC Mobile market.
All help is highly appreciated.
Subject: unable to connect to ASA database. Pocket PC. "Cannot Find .ini file".
X-Mailer: WebNews to Mail Gateway v1.1s
X-Original-Trace: 29 Aug 2003 02:52:51 -0700, 10.22.241.42
X-Original-Trace: 29 Aug 2003 02:50:16 -0700, forums-2-dub.sybase.com
Date: 29 Aug 2003 02:51:55 -0700
X-Trace: forums-1-dub 1062150715 10.22.108.75 (29 Aug 2003 02:51:55 -0700)
X-Original-Trace: 29 Aug 2003 02:51:55 -0700, forums-master.sybase.com
Xref: forums-1-dub ianywhere.public.general:1681
Article PK: 3905