Sybase NNTP forums - End Of Life (EOL)

The NNTP forums from Sybase - forums.sybase.com - are now closed.

All new questions should be directed to the appropriate forum at the SAP Community Network (SCN).

Individual products have links to the respective forums on SCN, or you can go to SCN and search for your product in the search box (upper right corner) to find your specific developer center.

iAnywhere.Data.AsaClient.dll problem

6 posts in General Discussion Last posting was on 2004-06-09 16:48:46.0Z
vish Posted on 2004-06-03 12:22:13.0Z
Reply-To: "vish" <vish2cu@hotmail.com>
From: "vish" <vish2cu@hotmail.com>
Newsgroups: ianywhere.public.general
Subject: iAnywhere.Data.AsaClient.dll problem
Lines: 43
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
X-Original-NNTP-Posting-Host: 203.197.53.18
Message-ID: <40bf1834@forums-2-dub>
X-Original-Trace: 3 Jun 2004 05:23:16 -0700, 203.197.53.18
X-Original-NNTP-Posting-Host: forums-2-dub.sybase.com
X-Original-Trace: 3 Jun 2004 05:20:11 -0700, forums-2-dub.sybase.com
NNTP-Posting-Host: forums-master.sybase.com
X-Original-NNTP-Posting-Host: forums-master.sybase.com
Date: 3 Jun 2004 05:22:13 -0700
X-Trace: forums-1-dub 1086265333 10.22.108.75 (3 Jun 2004 05:22:13 -0700)
X-Original-Trace: 3 Jun 2004 05:22:13 -0700, forums-master.sybase.com
X-Authenticated-User: ngsysop
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub ianywhere.public.general:3094
Article PK: 6554

Hi,

I am developing Smart Application project in Microsoft Visual Studio .Net
2003 with Sybase 9 ASA .net Data Provider. While running the program on
desktop with Pocket PC2002 Emulator, getting error When accessing
ASAConnection object. in the line below.
AsaConnection AsaConn = new
AsaConnection("DBF=D:\\ABC\\Demo.db;Uid=DBA;Pwd=SQL");

A first chance exception of type 'system.IO.FileNotFoundException' occured
in iAnywhere.Data.AsaClient.dll
Additionla Information: File dbdata9.dll was not found.

Then series of error messages 'System.OutOfMemoryException' occured in
'<projectname>'.exe
'System.OutOfMemoryException' occured in Unknown module
'system.MissingMethodException' occured in iAnywhere.Data.AsaClient.dll

In Add References iAnyWhere.Data.AsaClient is refering C:\Program
Files\Sybase\SQL Anywhere 9\ce\iAnywhere.Data.AsaClient.dll
other location where iAnywhere.Data.AsaClient.dll found are
c:\Program Files\Sybase\SQL Anywhere 9\win32
c:\Program Files\Sybase\SQL Anywhere 9\ce
D:\Program Files\Microsoft Visual Studio .Net
2003\CompactframeworkSDK\v1.0.5000\Windows CE
Also this dll is in GAC

where do i add reference for dbdata9.dll?
dbdata9.dll found in
c:\Program Files\Sybase\SQL Anywhere 9\win32
c:\Program Files\Sybase\SQL Anywhere 9\ce\arm.30
c:\Program Files\Sybase\SQL Anywhere 9\ce\armt.40
c:\Program Files\Sybase\SQL Anywhere 9\ce\mips.30
c:\Program Files\Sybase\SQL Anywhere 9\ce\x86.30

When running as windows form Project,same code runs fine.

Please let me know the iAnywhere.Data.AsaClient.dll & dbdata9.dll version
and size.

Thanks...


Jason Hinsperger Posted on 2004-06-03 12:58:04.0Z
From: "Jason Hinsperger" <NOJason_HinspergerSPAM@hotmail.com>
Newsgroups: ianywhere.public.general
References: <40bf1834@forums-2-dub>
Subject: Re: iAnywhere.Data.AsaClient.dll problem
Lines: 61
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1409
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
X-Original-NNTP-Posting-Host: hinsperg-pc1.sybase.com
Message-ID: <40bf2099$1@forums-2-dub>
X-Original-Trace: 3 Jun 2004 05:59:05 -0700, hinsperg-pc1.sybase.com
X-Original-NNTP-Posting-Host: forums-2-dub.sybase.com
X-Original-Trace: 3 Jun 2004 05:56:05 -0700, forums-2-dub.sybase.com
NNTP-Posting-Host: forums-master.sybase.com
X-Original-NNTP-Posting-Host: forums-master.sybase.com
Date: 3 Jun 2004 05:58:04 -0700
X-Trace: forums-1-dub 1086267484 10.22.108.75 (3 Jun 2004 05:58:04 -0700)
X-Original-Trace: 3 Jun 2004 05:58:04 -0700, forums-master.sybase.com
X-Authenticated-User: ngsysop
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub ianywhere.public.general:3097
Article PK: 6558

The dbdata9.dll must be placed in the windows directory of the emulator
environment, and should have the same version as the
iAnywhere.Data.AsaClient.dll.

--
Jason Hinsperger
Product Management
iAnywhere Solutions

Whitepapers, TechDocs, and bug fixes are all available through the iAnywhere
Developer Community at www.ianywhere.com/developer
--

"vish" <vish2cu@hotmail.com> wrote in message news:40bf1834@forums-2-dub...
> Hi,
>
> I am developing Smart Application project in Microsoft Visual Studio .Net
> 2003 with Sybase 9 ASA .net Data Provider. While running the program on
> desktop with Pocket PC2002 Emulator, getting error When accessing
> ASAConnection object. in the line below.
> AsaConnection AsaConn = new
> AsaConnection("DBF=D:\\ABC\\Demo.db;Uid=DBA;Pwd=SQL");
>
> A first chance exception of type 'system.IO.FileNotFoundException' occured
> in iAnywhere.Data.AsaClient.dll
> Additionla Information: File dbdata9.dll was not found.
>
> Then series of error messages 'System.OutOfMemoryException' occured in
> '<projectname>'.exe
> 'System.OutOfMemoryException' occured in Unknown module
> 'system.MissingMethodException' occured in iAnywhere.Data.AsaClient.dll
>
> In Add References iAnyWhere.Data.AsaClient is refering C:\Program
> Files\Sybase\SQL Anywhere 9\ce\iAnywhere.Data.AsaClient.dll
> other location where iAnywhere.Data.AsaClient.dll found are
> c:\Program Files\Sybase\SQL Anywhere 9\win32
> c:\Program Files\Sybase\SQL Anywhere 9\ce
> D:\Program Files\Microsoft Visual Studio .Net
> 2003\CompactframeworkSDK\v1.0.5000\Windows CE
> Also this dll is in GAC
>
> where do i add reference for dbdata9.dll?
> dbdata9.dll found in
> c:\Program Files\Sybase\SQL Anywhere 9\win32
> c:\Program Files\Sybase\SQL Anywhere 9\ce\arm.30
> c:\Program Files\Sybase\SQL Anywhere 9\ce\armt.40
> c:\Program Files\Sybase\SQL Anywhere 9\ce\mips.30
> c:\Program Files\Sybase\SQL Anywhere 9\ce\x86.30
>
> When running as windows form Project,same code runs fine.
>
> Please let me know the iAnywhere.Data.AsaClient.dll & dbdata9.dll version
> and size.
>
> Thanks...
>
>


vish Posted on 2004-06-03 13:30:33.0Z
Reply-To: "vish" <vish2cu@hotmail.com>
From: "vish" <vish2cu@hotmail.com>
Newsgroups: ianywhere.public.general
References: <40bf1834@forums-2-dub> <40bf2099$1@forums-2-dub>
Subject: Re: iAnywhere.Data.AsaClient.dll problem
Lines: 81
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
X-Original-NNTP-Posting-Host: 203.197.53.18
Message-ID: <40bf283d@forums-2-dub>
X-Original-Trace: 3 Jun 2004 06:31:41 -0700, 203.197.53.18
X-Original-NNTP-Posting-Host: forums-2-dub.sybase.com
X-Original-Trace: 3 Jun 2004 06:28:35 -0700, forums-2-dub.sybase.com
NNTP-Posting-Host: forums-master.sybase.com
X-Original-NNTP-Posting-Host: forums-master.sybase.com
Date: 3 Jun 2004 06:30:33 -0700
X-Trace: forums-1-dub 1086269433 10.22.108.75 (3 Jun 2004 06:30:33 -0700)
X-Original-Trace: 3 Jun 2004 06:30:33 -0700, forums-master.sybase.com
X-Authenticated-User: ngsysop
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub ianywhere.public.general:3098
Article PK: 6559

Hi,

Are u referring to c:\Program Files\Sybase\SQL Anywhere 9\win32 folder ?
Emulatore.exe is in D:\Program Files\Microsoft Visual Studio .NET
2003\CompactFrameworkSDK\ConnectionManager\Bin
I have installed .net 2003 in D: folder and Sybase is installed in C: folder

Can u exactly print the path where do i store dbdata9.dll file

Thanks

"Jason Hinsperger" <NOJason_HinspergerSPAM@hotmail.com> wrote in message
news:40bf2099$1@forums-2-dub...
> The dbdata9.dll must be placed in the windows directory of the emulator
> environment, and should have the same version as the
> iAnywhere.Data.AsaClient.dll.
>
> --
> Jason Hinsperger
> Product Management
> iAnywhere Solutions
>
> Whitepapers, TechDocs, and bug fixes are all available through the
iAnywhere
> Developer Community at www.ianywhere.com/developer
> --
>
>
>
> "vish" <vish2cu@hotmail.com> wrote in message
news:40bf1834@forums-2-dub...
> > Hi,
> >
> > I am developing Smart Application project in Microsoft Visual Studio
.Net
> > 2003 with Sybase 9 ASA .net Data Provider. While running the program on
> > desktop with Pocket PC2002 Emulator, getting error When accessing
> > ASAConnection object. in the line below.
> > AsaConnection AsaConn = new
> > AsaConnection("DBF=D:\\ABC\\Demo.db;Uid=DBA;Pwd=SQL");
> >
> > A first chance exception of type 'system.IO.FileNotFoundException'
occured
> > in iAnywhere.Data.AsaClient.dll
> > Additionla Information: File dbdata9.dll was not found.
> >
> > Then series of error messages 'System.OutOfMemoryException' occured in
> > '<projectname>'.exe
> > 'System.OutOfMemoryException' occured in Unknown module
> > 'system.MissingMethodException' occured in iAnywhere.Data.AsaClient.dll
> >
> > In Add References iAnyWhere.Data.AsaClient is refering C:\Program
> > Files\Sybase\SQL Anywhere 9\ce\iAnywhere.Data.AsaClient.dll
> > other location where iAnywhere.Data.AsaClient.dll found are
> > c:\Program Files\Sybase\SQL Anywhere 9\win32
> > c:\Program Files\Sybase\SQL Anywhere 9\ce
> > D:\Program Files\Microsoft Visual Studio .Net
> > 2003\CompactframeworkSDK\v1.0.5000\Windows CE
> > Also this dll is in GAC
> >
> > where do i add reference for dbdata9.dll?
> > dbdata9.dll found in
> > c:\Program Files\Sybase\SQL Anywhere 9\win32
> > c:\Program Files\Sybase\SQL Anywhere 9\ce\arm.30
> > c:\Program Files\Sybase\SQL Anywhere 9\ce\armt.40
> > c:\Program Files\Sybase\SQL Anywhere 9\ce\mips.30
> > c:\Program Files\Sybase\SQL Anywhere 9\ce\x86.30
> >
> > When running as windows form Project,same code runs fine.
> >
> > Please let me know the iAnywhere.Data.AsaClient.dll & dbdata9.dll
version
> > and size.
> >
> > Thanks...
> >
> >
>
>


Jason Hinsperger Posted on 2004-06-03 13:53:43.0Z
From: "Jason Hinsperger" <NOJason_HinspergerSPAM@hotmail.com>
Newsgroups: ianywhere.public.general
References: <40bf1834@forums-2-dub> <40bf2099$1@forums-2-dub> <40bf283d@forums-2-dub>
Subject: Re: iAnywhere.Data.AsaClient.dll problem
Lines: 107
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1409
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
X-Original-NNTP-Posting-Host: hinsperg-pc1.sybase.com
Message-ID: <40bf2daa$1@forums-2-dub>
X-Original-Trace: 3 Jun 2004 06:54:50 -0700, hinsperg-pc1.sybase.com
X-Original-NNTP-Posting-Host: forums-2-dub.sybase.com
X-Original-Trace: 3 Jun 2004 06:51:45 -0700, forums-2-dub.sybase.com
NNTP-Posting-Host: forums-master.sybase.com
X-Original-NNTP-Posting-Host: forums-master.sybase.com
Date: 3 Jun 2004 06:53:43 -0700
X-Trace: forums-1-dub 1086270823 10.22.108.75 (3 Jun 2004 06:53:43 -0700)
X-Original-Trace: 3 Jun 2004 06:53:43 -0700, forums-master.sybase.com
X-Authenticated-User: ngsysop
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub ianywhere.public.general:3101
Article PK: 6562

No, I mean the windows directory of the emulator, not your ASA install.
Treat the emulator as a deployment environment (ie. a pocket PC device) and
read the docs. on deployment of the iAnywhere provider.
For example, if you were deploying to a Pocket PC device, you would place
the iAnywhere.Data.AsaClient.dll and the dbdata9.dll in the devices windows
directory.

Hopefully this clarifies things

--
Jason Hinsperger
Product Management
iAnywhere Solutions

Whitepapers, TechDocs, and bug fixes are all available through the iAnywhere
Developer Community at www.ianywhere.com/developer
--

"vish" <vish2cu@hotmail.com> wrote in message news:40bf283d@forums-2-dub...
> Hi,
>
> Are u referring to c:\Program Files\Sybase\SQL Anywhere 9\win32 folder ?
> Emulatore.exe is in D:\Program Files\Microsoft Visual Studio .NET
> 2003\CompactFrameworkSDK\ConnectionManager\Bin
> I have installed .net 2003 in D: folder and Sybase is installed in C:
folder
>
> Can u exactly print the path where do i store dbdata9.dll file
>
> Thanks
>
> "Jason Hinsperger" <NOJason_HinspergerSPAM@hotmail.com> wrote in message
> news:40bf2099$1@forums-2-dub...
> > The dbdata9.dll must be placed in the windows directory of the emulator
> > environment, and should have the same version as the
> > iAnywhere.Data.AsaClient.dll.
> >
> > --
> > Jason Hinsperger
> > Product Management
> > iAnywhere Solutions
> >
> > Whitepapers, TechDocs, and bug fixes are all available through the
> iAnywhere
> > Developer Community at www.ianywhere.com/developer
> > --
> >
> >
> >
> > "vish" <vish2cu@hotmail.com> wrote in message
> news:40bf1834@forums-2-dub...
> > > Hi,
> > >
> > > I am developing Smart Application project in Microsoft Visual Studio
> .Net
> > > 2003 with Sybase 9 ASA .net Data Provider. While running the program
on
> > > desktop with Pocket PC2002 Emulator, getting error When accessing
> > > ASAConnection object. in the line below.
> > > AsaConnection AsaConn = new
> > > AsaConnection("DBF=D:\\ABC\\Demo.db;Uid=DBA;Pwd=SQL");
> > >
> > > A first chance exception of type 'system.IO.FileNotFoundException'
> occured
> > > in iAnywhere.Data.AsaClient.dll
> > > Additionla Information: File dbdata9.dll was not found.
> > >
> > > Then series of error messages 'System.OutOfMemoryException' occured in
> > > '<projectname>'.exe
> > > 'System.OutOfMemoryException' occured in Unknown module
> > > 'system.MissingMethodException' occured in
iAnywhere.Data.AsaClient.dll
> > >
> > > In Add References iAnyWhere.Data.AsaClient is refering C:\Program
> > > Files\Sybase\SQL Anywhere 9\ce\iAnywhere.Data.AsaClient.dll
> > > other location where iAnywhere.Data.AsaClient.dll found are
> > > c:\Program Files\Sybase\SQL Anywhere 9\win32
> > > c:\Program Files\Sybase\SQL Anywhere 9\ce
> > > D:\Program Files\Microsoft Visual Studio .Net
> > > 2003\CompactframeworkSDK\v1.0.5000\Windows CE
> > > Also this dll is in GAC
> > >
> > > where do i add reference for dbdata9.dll?
> > > dbdata9.dll found in
> > > c:\Program Files\Sybase\SQL Anywhere 9\win32
> > > c:\Program Files\Sybase\SQL Anywhere 9\ce\arm.30
> > > c:\Program Files\Sybase\SQL Anywhere 9\ce\armt.40
> > > c:\Program Files\Sybase\SQL Anywhere 9\ce\mips.30
> > > c:\Program Files\Sybase\SQL Anywhere 9\ce\x86.30
> > >
> > > When running as windows form Project,same code runs fine.
> > >
> > > Please let me know the iAnywhere.Data.AsaClient.dll & dbdata9.dll
> version
> > > and size.
> > >
> > > Thanks...
> > >
> > >
> >
> >
>
>


vish Posted on 2004-06-05 10:12:07.0Z
Reply-To: "vish" <vish2cu@hotmail.com>
From: "vish" <vish2cu@hotmail.com>
Newsgroups: ianywhere.public.general
References: <40bf1834@forums-2-dub> <40bf2099$1@forums-2-dub> <40bf283d@forums-2-dub> <40bf2daa$1@forums-2-dub>
Subject: Re: iAnywhere.Data.AsaClient.dll problem
Lines: 130
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
X-Original-NNTP-Posting-Host: 203.197.53.18
Message-ID: <40c19cc2@forums-2-dub>
X-Original-Trace: 5 Jun 2004 03:13:22 -0700, 203.197.53.18
X-Original-NNTP-Posting-Host: forums-2-dub.sybase.com
X-Original-Trace: 5 Jun 2004 03:10:00 -0700, forums-2-dub.sybase.com
NNTP-Posting-Host: forums-master.sybase.com
X-Original-NNTP-Posting-Host: forums-master.sybase.com
Date: 5 Jun 2004 03:12:07 -0700
X-Trace: forums-1-dub 1086430327 10.22.108.75 (5 Jun 2004 03:12:07 -0700)
X-Original-Trace: 5 Jun 2004 03:12:07 -0700, forums-master.sybase.com
X-Authenticated-User: ngsysop
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub ianywhere.public.general:3110
Article PK: 6571

Hi Jason,

I have checked for same version iAnywhere.Data.AsaClient.dll. & dbdata9.dll
Now I am getting 'System.TypeLoadException' error when I try to connect
Demo.db
Connection String is
AsaConnection AsaConn = new
AsaConnection("DBF=D:\\ABC\\Demo.db;Uid=DBA;Pwd=SQL");

Thanks

"Jason Hinsperger" <NOJason_HinspergerSPAM@hotmail.com> wrote in message
news:40bf2daa$1@forums-2-dub...
> No, I mean the windows directory of the emulator, not your ASA install.
> Treat the emulator as a deployment environment (ie. a pocket PC device)
and
> read the docs. on deployment of the iAnywhere provider.
> For example, if you were deploying to a Pocket PC device, you would place
> the iAnywhere.Data.AsaClient.dll and the dbdata9.dll in the devices
windows
> directory.
>
> Hopefully this clarifies things
>
> --
> Jason Hinsperger
> Product Management
> iAnywhere Solutions
>
> Whitepapers, TechDocs, and bug fixes are all available through the
iAnywhere
> Developer Community at www.ianywhere.com/developer
> --
>
>
>
> "vish" <vish2cu@hotmail.com> wrote in message
news:40bf283d@forums-2-dub...
> > Hi,
> >
> > Are u referring to c:\Program Files\Sybase\SQL Anywhere 9\win32 folder
?
> > Emulatore.exe is in D:\Program Files\Microsoft Visual Studio .NET
> > 2003\CompactFrameworkSDK\ConnectionManager\Bin
> > I have installed .net 2003 in D: folder and Sybase is installed in C:
> folder
> >
> > Can u exactly print the path where do i store dbdata9.dll file
> >
> > Thanks
> >
> > "Jason Hinsperger" <NOJason_HinspergerSPAM@hotmail.com> wrote in message
> > news:40bf2099$1@forums-2-dub...
> > > The dbdata9.dll must be placed in the windows directory of the
emulator
> > > environment, and should have the same version as the
> > > iAnywhere.Data.AsaClient.dll.
> > >
> > > --
> > > Jason Hinsperger
> > > Product Management
> > > iAnywhere Solutions
> > >
> > > Whitepapers, TechDocs, and bug fixes are all available through the
> > iAnywhere
> > > Developer Community at www.ianywhere.com/developer
> > > --
> > >
> > >
> > >
> > > "vish" <vish2cu@hotmail.com> wrote in message
> > news:40bf1834@forums-2-dub...
> > > > Hi,
> > > >
> > > > I am developing Smart Application project in Microsoft Visual Studio
> > .Net
> > > > 2003 with Sybase 9 ASA .net Data Provider. While running the
program
> on
> > > > desktop with Pocket PC2002 Emulator, getting error When accessing
> > > > ASAConnection object. in the line below.
> > > > AsaConnection AsaConn = new
> > > > AsaConnection("DBF=D:\\ABC\\Demo.db;Uid=DBA;Pwd=SQL");
> > > >
> > > > A first chance exception of type 'system.IO.FileNotFoundException'
> > occured
> > > > in iAnywhere.Data.AsaClient.dll
> > > > Additionla Information: File dbdata9.dll was not found.
> > > >
> > > > Then series of error messages 'System.OutOfMemoryException' occured
in
> > > > '<projectname>'.exe
> > > > 'System.OutOfMemoryException' occured in Unknown module
> > > > 'system.MissingMethodException' occured in
> iAnywhere.Data.AsaClient.dll
> > > >
> > > > In Add References iAnyWhere.Data.AsaClient is refering C:\Program
> > > > Files\Sybase\SQL Anywhere 9\ce\iAnywhere.Data.AsaClient.dll
> > > > other location where iAnywhere.Data.AsaClient.dll found are
> > > > c:\Program Files\Sybase\SQL Anywhere 9\win32
> > > > c:\Program Files\Sybase\SQL Anywhere 9\ce
> > > > D:\Program Files\Microsoft Visual Studio .Net
> > > > 2003\CompactframeworkSDK\v1.0.5000\Windows CE
> > > > Also this dll is in GAC
> > > >
> > > > where do i add reference for dbdata9.dll?
> > > > dbdata9.dll found in
> > > > c:\Program Files\Sybase\SQL Anywhere 9\win32
> > > > c:\Program Files\Sybase\SQL Anywhere 9\ce\arm.30
> > > > c:\Program Files\Sybase\SQL Anywhere 9\ce\armt.40
> > > > c:\Program Files\Sybase\SQL Anywhere 9\ce\mips.30
> > > > c:\Program Files\Sybase\SQL Anywhere 9\ce\x86.30
> > > >
> > > > When running as windows form Project,same code runs fine.
> > > >
> > > > Please let me know the iAnywhere.Data.AsaClient.dll & dbdata9.dll
> > version
> > > > and size.
> > > >
> > > > Thanks...
> > > >
> > > >
> > >
> > >
> >
> >
>
>


Jason Hinsperger Posted on 2004-06-09 16:48:46.0Z
From: "Jason Hinsperger" <NOJason_HinspergerSPAM@hotmail.com>
Newsgroups: ianywhere.public.general
References: <40bf1834@forums-2-dub> <40bf2099$1@forums-2-dub> <40bf283d@forums-2-dub> <40bf2daa$1@forums-2-dub> <40c19cc2@forums-2-dub>
Subject: Re: iAnywhere.Data.AsaClient.dll problem
Lines: 152
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1409
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
X-Original-NNTP-Posting-Host: hinsperg-pc1.sybase.com
Message-ID: <40c73fc7$1@forums-2-dub>
X-Original-Trace: 9 Jun 2004 09:50:15 -0700, hinsperg-pc1.sybase.com
X-Original-NNTP-Posting-Host: forums-2-dub.sybase.com
X-Original-Trace: 9 Jun 2004 09:46:12 -0700, forums-2-dub.sybase.com
NNTP-Posting-Host: forums-master.sybase.com
X-Original-NNTP-Posting-Host: forums-master.sybase.com
Date: 9 Jun 2004 09:48:46 -0700
X-Trace: forums-1-dub 1086799726 10.22.108.75 (9 Jun 2004 09:48:46 -0700)
X-Original-Trace: 9 Jun 2004 09:48:46 -0700, forums-master.sybase.com
X-Authenticated-User: ngsysop
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub ianywhere.public.general:3143
Article PK: 6606

It sounds like you are using the wrong dll in the emulator.
You should be using the one from the ASA90\ce\x86.30 directory.

--
Jason Hinsperger
Product Management
iAnywhere Solutions

Whitepapers, TechDocs, and bug fixes are all available through the iAnywhere
Developer Community at www.ianywhere.com/developer
--

"vish" <vish2cu@hotmail.com> wrote in message news:40c19cc2@forums-2-dub...
> Hi Jason,
>
> I have checked for same version iAnywhere.Data.AsaClient.dll. &
dbdata9.dll
> Now I am getting 'System.TypeLoadException' error when I try to connect
> Demo.db
> Connection String is
> AsaConnection AsaConn = new
> AsaConnection("DBF=D:\\ABC\\Demo.db;Uid=DBA;Pwd=SQL");
>
> Thanks
>
> "Jason Hinsperger" <NOJason_HinspergerSPAM@hotmail.com> wrote in message
> news:40bf2daa$1@forums-2-dub...
> > No, I mean the windows directory of the emulator, not your ASA install.
> > Treat the emulator as a deployment environment (ie. a pocket PC device)
> and
> > read the docs. on deployment of the iAnywhere provider.
> > For example, if you were deploying to a Pocket PC device, you would
place
> > the iAnywhere.Data.AsaClient.dll and the dbdata9.dll in the devices
> windows
> > directory.
> >
> > Hopefully this clarifies things
> >
> > --
> > Jason Hinsperger
> > Product Management
> > iAnywhere Solutions
> >
> > Whitepapers, TechDocs, and bug fixes are all available through the
> iAnywhere
> > Developer Community at www.ianywhere.com/developer
> > --
> >
> >
> >
> > "vish" <vish2cu@hotmail.com> wrote in message
> news:40bf283d@forums-2-dub...
> > > Hi,
> > >
> > > Are u referring to c:\Program Files\Sybase\SQL Anywhere 9\win32
folder
> ?
> > > Emulatore.exe is in D:\Program Files\Microsoft Visual Studio .NET
> > > 2003\CompactFrameworkSDK\ConnectionManager\Bin
> > > I have installed .net 2003 in D: folder and Sybase is installed in C:
> > folder
> > >
> > > Can u exactly print the path where do i store dbdata9.dll file
> > >
> > > Thanks
> > >
> > > "Jason Hinsperger" <NOJason_HinspergerSPAM@hotmail.com> wrote in
message
> > > news:40bf2099$1@forums-2-dub...
> > > > The dbdata9.dll must be placed in the windows directory of the
> emulator
> > > > environment, and should have the same version as the
> > > > iAnywhere.Data.AsaClient.dll.
> > > >
> > > > --
> > > > Jason Hinsperger
> > > > Product Management
> > > > iAnywhere Solutions
> > > >
> > > > Whitepapers, TechDocs, and bug fixes are all available through the
> > > iAnywhere
> > > > Developer Community at www.ianywhere.com/developer
> > > > --
> > > >
> > > >
> > > >
> > > > "vish" <vish2cu@hotmail.com> wrote in message
> > > news:40bf1834@forums-2-dub...
> > > > > Hi,
> > > > >
> > > > > I am developing Smart Application project in Microsoft Visual
Studio
> > > .Net
> > > > > 2003 with Sybase 9 ASA .net Data Provider. While running the
> program
> > on
> > > > > desktop with Pocket PC2002 Emulator, getting error When accessing
> > > > > ASAConnection object. in the line below.
> > > > > AsaConnection AsaConn = new
> > > > > AsaConnection("DBF=D:\\ABC\\Demo.db;Uid=DBA;Pwd=SQL");
> > > > >
> > > > > A first chance exception of type 'system.IO.FileNotFoundException'
> > > occured
> > > > > in iAnywhere.Data.AsaClient.dll
> > > > > Additionla Information: File dbdata9.dll was not found.
> > > > >
> > > > > Then series of error messages 'System.OutOfMemoryException'
occured
> in
> > > > > '<projectname>'.exe
> > > > > 'System.OutOfMemoryException' occured in Unknown module
> > > > > 'system.MissingMethodException' occured in
> > iAnywhere.Data.AsaClient.dll
> > > > >
> > > > > In Add References iAnyWhere.Data.AsaClient is refering C:\Program
> > > > > Files\Sybase\SQL Anywhere 9\ce\iAnywhere.Data.AsaClient.dll
> > > > > other location where iAnywhere.Data.AsaClient.dll found are
> > > > > c:\Program Files\Sybase\SQL Anywhere 9\win32
> > > > > c:\Program Files\Sybase\SQL Anywhere 9\ce
> > > > > D:\Program Files\Microsoft Visual Studio .Net
> > > > > 2003\CompactframeworkSDK\v1.0.5000\Windows CE
> > > > > Also this dll is in GAC
> > > > >
> > > > > where do i add reference for dbdata9.dll?
> > > > > dbdata9.dll found in
> > > > > c:\Program Files\Sybase\SQL Anywhere 9\win32
> > > > > c:\Program Files\Sybase\SQL Anywhere 9\ce\arm.30
> > > > > c:\Program Files\Sybase\SQL Anywhere 9\ce\armt.40
> > > > > c:\Program Files\Sybase\SQL Anywhere 9\ce\mips.30
> > > > > c:\Program Files\Sybase\SQL Anywhere 9\ce\x86.30
> > > > >
> > > > > When running as windows form Project,same code runs fine.
> > > > >
> > > > > Please let me know the iAnywhere.Data.AsaClient.dll & dbdata9.dll
> > > version
> > > > > and size.
> > > > >
> > > > > Thanks...
> > > > >
> > > > >
> > > >
> > > >
> > >
> > >
> >
> >
>
>