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.

System.TypeLoadException Problem

10 posts in General Discussion Last posting was on 2004-09-21 10:13:52.0Z
vish Posted on 2004-06-08 15:57:16.0Z
Reply-To: "vish" <vish2cu@hotmail.com>
From: "vish" <vish2cu@hotmail.com>
Newsgroups: ianywhere.public.general
Subject: System.TypeLoadException Problem
Lines: 18
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: <40c5e234@forums-2-dub>
X-Original-Trace: 8 Jun 2004 08:58:44 -0700, 203.197.53.18
X-Original-NNTP-Posting-Host: forums-2-dub.sybase.com
X-Original-Trace: 8 Jun 2004 08:54:51 -0700, forums-2-dub.sybase.com
NNTP-Posting-Host: forums-master.sybase.com
X-Original-NNTP-Posting-Host: forums-master.sybase.com
Date: 8 Jun 2004 08:57:16 -0700
X-Trace: forums-1-dub 1086710236 10.22.108.75 (8 Jun 2004 08:57:16 -0700)
X-Original-Trace: 8 Jun 2004 08:57:16 -0700, forums-master.sybase.com
X-Authenticated-User: ngsysop
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub ianywhere.public.general:3124
Article PK: 6582

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 -
A first chance exception of type 'System.TypeLoadException' occurred in
System.Windows.Forms.dll at
static void Main()
{
Application.Run( new Form1() );
}
This is when i use ASAConnection Object as AsaConnection conn = new
AsaConnection("dbf=\\ABC\\Demo.db;uid=DBA;pwd=SQL");
if I comment this line and other code for ASA Object then it runs fine.

Thanks


Craig Hyatt Posted on 2004-06-08 18:01:52.0Z
Sender: b8d.40c4b8d1.1804289383@sybase.com
From: Craig Hyatt
Newsgroups: ianywhere.public.general
Subject: Re: System.TypeLoadException Problem
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <40c5ff67.24f0.1681692777@sybase.com>
References: <40c5e234@forums-2-dub>
X-Original-NNTP-Posting-Host: 10.22.241.42
X-Original-Trace: 8 Jun 2004 11:03:20 -0700, 10.22.241.42
Lines: 24
X-Original-NNTP-Posting-Host: forums-2-dub.sybase.com
X-Original-Trace: 8 Jun 2004 10:59:25 -0700, forums-2-dub.sybase.com
NNTP-Posting-Host: forums-master.sybase.com
X-Original-NNTP-Posting-Host: forums-master.sybase.com
Date: 8 Jun 2004 11:01:52 -0700
X-Trace: forums-1-dub 1086717712 10.22.108.75 (8 Jun 2004 11:01:52 -0700)
X-Original-Trace: 8 Jun 2004 11:01:52 -0700, forums-master.sybase.com
X-Authenticated-User: ngsysop
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub ianywhere.public.general:3125
Article PK: 6585

Do you include a "using iAnywhere.Data.AsaClient;" and a
reference to the iAnywhere.Data.AsaClient.dll?

Craig

> 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 - A first chance
> exception of type 'System.TypeLoadException' occurred in
> System.Windows.Forms.dll at static void Main()
> {
> Application.Run( new Form1() );
> }
> This is when i use ASAConnection Object as AsaConnection
> conn = new AsaConnection("dbf=\\ABC\\Demo.db;uid=DBA
> ;pwd=SQL"); if I comment this line and other code for ASA
> Object then it runs fine.
>
> Thanks
>
>


Craig Hyatt Posted on 2004-06-08 19:33:59.0Z
Sender: 2726.40c61472.1804289383@sybase.com
From: Craig Hyatt
Newsgroups: ianywhere.public.general
Subject: Re: System.TypeLoadException Problem
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <40c614fe.2730.1681692777@sybase.com>
References: <40c5ff67.24f0.1681692777@sybase.com>
X-Original-NNTP-Posting-Host: 10.22.241.42
X-Original-Trace: 8 Jun 2004 12:35:26 -0700, 10.22.241.42
Lines: 26
X-Original-NNTP-Posting-Host: forums-2-dub.sybase.com
X-Original-Trace: 8 Jun 2004 12:31:32 -0700, forums-2-dub.sybase.com
NNTP-Posting-Host: forums-master.sybase.com
X-Original-NNTP-Posting-Host: forums-master.sybase.com
Date: 8 Jun 2004 12:33:59 -0700
X-Trace: forums-1-dub 1086723239 10.22.108.75 (8 Jun 2004 12:33:59 -0700)
X-Original-Trace: 8 Jun 2004 12:33:59 -0700, forums-master.sybase.com
X-Authenticated-User: ngsysop
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub ianywhere.public.general:3127
Article PK: 6586

And have you installed ASA on the emulator?

> Do you include a "using iAnywhere.Data.AsaClient;" and a
> reference to the iAnywhere.Data.AsaClient.dll?
>
> Craig
>
> > 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 - A first chance
> > exception of type 'System.TypeLoadException' occurred in
> > System.Windows.Forms.dll at static void Main()
> > {
> > Application.Run( new Form1() );
> > }
> > This is when i use ASAConnection Object as AsaConnection
> > conn = new AsaConnection("dbf=\\ABC\\Demo.db;uid=DBA
> > ;pwd=SQL"); if I comment this line and other code for
> > ASA Object then it runs fine.
> >
> > Thanks
> >
> >


vish Posted on 2004-06-09 09:31:54.0Z
Reply-To: "vish" <vish2cu@hotmail.com>
From: "vish" <vish2cu@hotmail.com>
Newsgroups: ianywhere.public.general
References: <40c5ff67.24f0.1681692777@sybase.com> <40c614fe.2730.1681692777@sybase.com>
Subject: Re: System.TypeLoadException Problem
Lines: 52
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
NNTP-Posting-Host: 203.197.53.18
X-Original-NNTP-Posting-Host: 203.197.53.18
Message-ID: <40c6d90a@forums-1-dub>
Date: 9 Jun 2004 02:31:54 -0700
X-Trace: forums-1-dub 1086773514 203.197.53.18 (9 Jun 2004 02:31:54 -0700)
X-Original-Trace: 9 Jun 2004 02:31:54 -0700, 203.197.53.18
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub ianywhere.public.general:3128
Article PK: 6587

Hi Craig,

Thanks for responding.

I have added reference.I have upgraded from 9.0.1751 to 9.0.1841. Both
dbdata9.dll and iAnywhere.Data.AsaClient.dll are same version.


.Net2003 reference - D:\Program Files\Microsoft Visual Studio .NET
2003\CompactFrameworkSDK\v1.0.5000\Windows CE\iAnywhere.Data.AsaClient.dll .

Emlator.exe - D:\Program Files\Microsoft Visual Studio .NET
2003\CompactFrameworkSDK\ConnectionManager\Bin

Sybase ASA 9.0 - C:\Program Files\Sybase\SQL Anywhere 9

Do I have to do anything different for installing ASA on emulator. I am new
to this.

I really need this working urg.

Thanks

<Craig Hyatt> wrote in message news:40c614fe.2730.1681692777@sybase.com...
> And have you installed ASA on the emulator?
>
> > Do you include a "using iAnywhere.Data.AsaClient;" and a
> > reference to the iAnywhere.Data.AsaClient.dll?
> >
> > Craig
> >
> > > 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 - A first chance
> > > exception of type 'System.TypeLoadException' occurred in
> > > System.Windows.Forms.dll at static void Main()
> > > {
> > > Application.Run( new Form1() );
> > > }
> > > This is when i use ASAConnection Object as AsaConnection
> > > conn = new AsaConnection("dbf=\\ABC\\Demo.db;uid=DBA
> > > ;pwd=SQL"); if I comment this line and other code for
> > > ASA Object then it runs fine.
> > >
> > > Thanks
> > >
> > >


Craig Hyatt Posted on 2004-06-09 13:40:14.0Z
Sender: 7abe.40c70b9d.1804289383@sybase.com
From: Craig Hyatt
Newsgroups: ianywhere.public.general
Subject: Re: System.TypeLoadException Problem
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <40c7133e.7b7d.1681692777@sybase.com>
References: <40c6d90a@forums-1-dub>
NNTP-Posting-Host: 10.22.241.41
X-Original-NNTP-Posting-Host: 10.22.241.41
Date: 9 Jun 2004 06:40:14 -0700
X-Trace: forums-1-dub 1086788414 10.22.241.41 (9 Jun 2004 06:40:14 -0700)
X-Original-Trace: 9 Jun 2004 06:40:14 -0700, 10.22.241.41
Lines: 77
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub ianywhere.public.general:3133
Article PK: 6593

To install ASA on the emulator, you need to install ASA for
Win CE onto your PC first. I believe the developer version
is freely available at sybase.com.

Since you've applied an EBF to your Win32 version, you'll
probably want to do so to the Win CE version as well.

Next, run:

Start -> Programs -> SQL Anywhere 9 -> Deploy SQL Anywhere
for Windows CE

Use the wizard to build a .cab file for the Pocket PC 2002
emulator.

Lastly, copy this cab file to the emulator and tap it to
install. (The wizard might do this for you. If not you
need to either map a drive to your PC from explorer on the
emulator and copy it down or add the .cab to your VS project
as content to be downloaded.)

Craig

> Hi Craig,
>
> Thanks for responding.
>
> I have added reference.I have upgraded from 9.0.1751 to
> 9.0.1841. Both dbdata9.dll and
> iAnywhere.Data.AsaClient.dll are same version.
>
>
> .Net2003 reference - D:\Program Files\Microsoft Visual
> Studio .NET 2003\CompactFrameworkSDK\v1.0.5000\Windows
> CE\iAnywhere.Data.AsaClient.dll .
>
> Emlator.exe - D:\Program Files\Microsoft Visual Studio
> NET 2003\CompactFrameworkSDK\ConnectionManager\Bin
>
> Sybase ASA 9.0 - C:\Program Files\Sybase\SQL Anywhere 9
>
> Do I have to do anything different for installing ASA on
> emulator. I am new to this.
>
> I really need this working urg.
>
> Thanks
>
> <Craig Hyatt> wrote in message
> > news:40c614fe.2730.1681692777@sybase.com... And have you
> installed ASA on the emulator? >
> > > Do you include a "using iAnywhere.Data.AsaClient;" and
> > > a reference to the iAnywhere.Data.AsaClient.dll?
> > >
> > > Craig
> > >
> > > > 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 -
> > > > A first chance exception of type
> > > > 'System.TypeLoadException' occurred in
> > > > System.Windows.Forms.dll at static void Main() {
> > > > Application.Run( new Form1() );
> > > > }
> > > > This is when i use ASAConnection Object as
> > > > AsaConnection conn = new
> > > > AsaConnection("dbf=\\ABC\\Demo.db;uid=DBA ;pwd=SQL")
> > > > ; if I comment this line and other code for ASA
> > > Object then it runs fine. >
> > > > Thanks
> > > >
> > > >
>
>


vish Posted on 2004-06-09 16:57:09.0Z
Reply-To: "vish" <vish2cu@hotmail.com>
From: "vish" <vish2cu@hotmail.com>
Newsgroups: ianywhere.public.general
References: <40c6d90a@forums-1-dub> <40c7133e.7b7d.1681692777@sybase.com>
Subject: Re: System.TypeLoadException Problem
Lines: 93
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
NNTP-Posting-Host: 203.197.53.18
X-Original-NNTP-Posting-Host: 203.197.53.18
Message-ID: <40c74165@forums-1-dub>
Date: 9 Jun 2004 09:57:09 -0700
X-Trace: forums-1-dub 1086800229 203.197.53.18 (9 Jun 2004 09:57:09 -0700)
X-Original-Trace: 9 Jun 2004 09:57:09 -0700, 203.197.53.18
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub ianywhere.public.general:3144
Article PK: 6603

Hi Craig,

I had installed ASA for windows CE running the wizard..
When i run emulator, i can see ActiveSync icon in start menu. when try
connecting message comes - no partnership
You must establish a partnership with a desktop computer prior to running
ActiveSync.

Is ActiveSync installed or not? How do i establish partnership with desktop
PC and Emulator? any Connection properties to set?

Thanks

<Craig Hyatt> wrote in message news:40c7133e.7b7d.1681692777@sybase.com...
> To install ASA on the emulator, you need to install ASA for
> Win CE onto your PC first. I believe the developer version
> is freely available at sybase.com.
>
> Since you've applied an EBF to your Win32 version, you'll
> probably want to do so to the Win CE version as well.
>
> Next, run:
>
> Start -> Programs -> SQL Anywhere 9 -> Deploy SQL Anywhere
> for Windows CE
>
> Use the wizard to build a .cab file for the Pocket PC 2002
> emulator.
>
> Lastly, copy this cab file to the emulator and tap it to
> install. (The wizard might do this for you. If not you
> need to either map a drive to your PC from explorer on the
> emulator and copy it down or add the .cab to your VS project
> as content to be downloaded.)
>
> Craig
>
> > Hi Craig,
> >
> > Thanks for responding.
> >
> > I have added reference.I have upgraded from 9.0.1751 to
> > 9.0.1841. Both dbdata9.dll and
> > iAnywhere.Data.AsaClient.dll are same version.
> >
> >
> > .Net2003 reference - D:\Program Files\Microsoft Visual
> > Studio .NET 2003\CompactFrameworkSDK\v1.0.5000\Windows
> > CE\iAnywhere.Data.AsaClient.dll .
> >
> > Emlator.exe - D:\Program Files\Microsoft Visual Studio
> > NET 2003\CompactFrameworkSDK\ConnectionManager\Bin
> >
> > Sybase ASA 9.0 - C:\Program Files\Sybase\SQL Anywhere 9
> >
> > Do I have to do anything different for installing ASA on
> > emulator. I am new to this.
> >
> > I really need this working urg.
> >
> > Thanks
> >
> > <Craig Hyatt> wrote in message
> > > news:40c614fe.2730.1681692777@sybase.com... And have you
> > installed ASA on the emulator? >
> > > > Do you include a "using iAnywhere.Data.AsaClient;" and
> > > > a reference to the iAnywhere.Data.AsaClient.dll?
> > > >
> > > > Craig
> > > >
> > > > > 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 -
> > > > > A first chance exception of type
> > > > > 'System.TypeLoadException' occurred in
> > > > > System.Windows.Forms.dll at static void Main() {
> > > > > Application.Run( new Form1() );
> > > > > }
> > > > > This is when i use ASAConnection Object as
> > > > > AsaConnection conn = new
> > > > > AsaConnection("dbf=\\ABC\\Demo.db;uid=DBA ;pwd=SQL")
> > > > > ; if I comment this line and other code for ASA
> > > > Object then it runs fine. >
> > > > > Thanks
> > > > >
> > > > >
> >
> >


Craig Hyatt Posted on 2004-06-09 17:14:47.0Z
Sender: 7ef1.40c743cc.1804289383@sybase.com
From: Craig Hyatt
Newsgroups: ianywhere.public.general
Subject: Re: System.TypeLoadException Problem
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <40c74587.7f18.1681692777@sybase.com>
References: <40c74165@forums-1-dub>
NNTP-Posting-Host: 10.22.241.41
X-Original-NNTP-Posting-Host: 10.22.241.41
Date: 9 Jun 2004 10:14:47 -0700
X-Trace: forums-1-dub 1086801287 10.22.241.41 (9 Jun 2004 10:14:47 -0700)
X-Original-Trace: 9 Jun 2004 10:14:47 -0700, 10.22.241.41
Lines: 101
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub ianywhere.public.general:3146
Article PK: 6604

What do you need ActiveSync for? As far as know you can't
ActiveSync to the emulator.

Did you solve the problem with the TypeLoadException?

Craig

> Hi Craig,
>
> I had installed ASA for windows CE running the wizard..
> When i run emulator, i can see ActiveSync icon in start
> menu. when try connecting message comes - no partnership
> You must establish a partnership with a desktop computer
> prior to running ActiveSync.
>
> Is ActiveSync installed or not? How do i establish
> partnership with desktop PC and Emulator? any Connection
> properties to set?
>
> Thanks
>
> <Craig Hyatt> wrote in message
> > news:40c7133e.7b7d.1681692777@sybase.com... To install
> > ASA on the emulator, you need to install ASA for Win CE
> > onto your PC first. I believe the developer version is
> freely available at sybase.com. >
> > Since you've applied an EBF to your Win32 version,
> > you'll probably want to do so to the Win CE version as
> well. >
> > Next, run:
> >
> > Start -> Programs -> SQL Anywhere 9 -> Deploy SQL
> > Anywhere for Windows CE
> >
> > Use the wizard to build a .cab file for the Pocket PC
> > 2002 emulator.
> >
> > Lastly, copy this cab file to the emulator and tap it to
> > install. (The wizard might do this for you. If not you
> > need to either map a drive to your PC from explorer on
> > the emulator and copy it down or add the .cab to your VS
> > project as content to be downloaded.)
> >
> > Craig
> >
> > > Hi Craig,
> > >
> > > Thanks for responding.
> > >
> > > I have added reference.I have upgraded from 9.0.1751
> > > to 9.0.1841. Both dbdata9.dll and
> > > iAnywhere.Data.AsaClient.dll are same version.
> > >
> > >
> > > .Net2003 reference - D:\Program Files\Microsoft Visual
> > > Studio .NET 2003\CompactFrameworkSDK\v1.0.5000\Windows
> > > CE\iAnywhere.Data.AsaClient.dll .
> > >
> > > Emlator.exe - D:\Program Files\Microsoft Visual Studio
> > > NET 2003\CompactFrameworkSDK\ConnectionManager\Bin
> > >
> > > Sybase ASA 9.0 - C:\Program Files\Sybase\SQL Anywhere
> > 9 >
> > > Do I have to do anything different for installing ASA
> > > on emulator. I am new to this.
> > >
> > > I really need this working urg.
> > >
> > > Thanks
> > >
> > > <Craig Hyatt> wrote in message
> > > > news:40c614fe.2730.1681692777@sybase.com... And have
> > > you installed ASA on the emulator? >
> > > > > Do you include a "using iAnywhere.Data.AsaClient;"
> > > > > and a reference to the
> > > > iAnywhere.Data.AsaClient.dll? >
> > > > > Craig
> > > > >
> > > > > > 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 - A first chance exception of type
> > > > > > 'System.TypeLoadException' occurred in
> > > > > > System.Windows.Forms.dll at static void Main() {
> > > > > > Application.Run( new Form1() );
> > > > > > }
> > > > > > This is when i use ASAConnection Object as
> > > > > > AsaConnection conn = new
> > > > > > AsaConnection("dbf=\\ABC\\Demo.db;uid=DBA
> > > > > > ;pwd=SQL") ; if I comment this line and other
> > > > > code for ASA Object then it runs fine. >
> > > > > > Thanks
> > > > > >
> > > > > >
> > >
> > >
>
>


vish Posted on 2004-06-11 15:10:55.0Z
Reply-To: "vish" <vish2cu@hotmail.com>
From: "vish" <vish2cu@hotmail.com>
Newsgroups: ianywhere.public.general
References: <40c74165@forums-1-dub> <40c74587.7f18.1681692777@sybase.com>
Subject: Re: System.TypeLoadException Problem
Lines: 111
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
NNTP-Posting-Host: 203.197.53.18
X-Original-NNTP-Posting-Host: 203.197.53.18
Message-ID: <40c9cb7f@forums-1-dub>
Date: 11 Jun 2004 08:10:55 -0700
X-Trace: forums-1-dub 1086966655 203.197.53.18 (11 Jun 2004 08:10:55 -0700)
X-Original-Trace: 11 Jun 2004 08:10:55 -0700, 203.197.53.18
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub ianywhere.public.general:3172
Article PK: 6631

No. Still getting the same error .A first chance exception of type
'System.TypeLoadException' occurred in System.Windows.Forms.dll

I had downloaded & installed EBF for Win32 version 9.0.1841 while for Win CE
version is i think 9.0.1751 ? is that the problem ...

<Craig Hyatt> wrote in message news:40c74587.7f18.1681692777@sybase.com...
> What do you need ActiveSync for? As far as know you can't
> ActiveSync to the emulator.
>
> Did you solve the problem with the TypeLoadException?
>
> Craig
>
> > Hi Craig,
> >
> > I had installed ASA for windows CE running the wizard..
> > When i run emulator, i can see ActiveSync icon in start
> > menu. when try connecting message comes - no partnership
> > You must establish a partnership with a desktop computer
> > prior to running ActiveSync.
> >
> > Is ActiveSync installed or not? How do i establish
> > partnership with desktop PC and Emulator? any Connection
> > properties to set?
> >
> > Thanks
> >
> > <Craig Hyatt> wrote in message
> > > news:40c7133e.7b7d.1681692777@sybase.com... To install
> > > ASA on the emulator, you need to install ASA for Win CE
> > > onto your PC first. I believe the developer version is
> > freely available at sybase.com. >
> > > Since you've applied an EBF to your Win32 version,
> > > you'll probably want to do so to the Win CE version as
> > well. >
> > > Next, run:
> > >
> > > Start -> Programs -> SQL Anywhere 9 -> Deploy SQL
> > > Anywhere for Windows CE
> > >
> > > Use the wizard to build a .cab file for the Pocket PC
> > > 2002 emulator.
> > >
> > > Lastly, copy this cab file to the emulator and tap it to
> > > install. (The wizard might do this for you. If not you
> > > need to either map a drive to your PC from explorer on
> > > the emulator and copy it down or add the .cab to your VS
> > > project as content to be downloaded.)
> > >
> > > Craig
> > >
> > > > Hi Craig,
> > > >
> > > > Thanks for responding.
> > > >
> > > > I have added reference.I have upgraded from 9.0.1751
> > > > to 9.0.1841. Both dbdata9.dll and
> > > > iAnywhere.Data.AsaClient.dll are same version.
> > > >
> > > >
> > > > .Net2003 reference - D:\Program Files\Microsoft Visual
> > > > Studio .NET 2003\CompactFrameworkSDK\v1.0.5000\Windows
> > > > CE\iAnywhere.Data.AsaClient.dll .
> > > >
> > > > Emlator.exe - D:\Program Files\Microsoft Visual Studio
> > > > NET 2003\CompactFrameworkSDK\ConnectionManager\Bin
> > > >
> > > > Sybase ASA 9.0 - C:\Program Files\Sybase\SQL Anywhere
> > > 9 >
> > > > Do I have to do anything different for installing ASA
> > > > on emulator. I am new to this.
> > > >
> > > > I really need this working urg.
> > > >
> > > > Thanks
> > > >
> > > > <Craig Hyatt> wrote in message
> > > > > news:40c614fe.2730.1681692777@sybase.com... And have
> > > > you installed ASA on the emulator? >
> > > > > > Do you include a "using iAnywhere.Data.AsaClient;"
> > > > > > and a reference to the
> > > > > iAnywhere.Data.AsaClient.dll? >
> > > > > > Craig
> > > > > >
> > > > > > > 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 - A first chance exception of type
> > > > > > > 'System.TypeLoadException' occurred in
> > > > > > > System.Windows.Forms.dll at static void Main() {
> > > > > > > Application.Run( new Form1() );
> > > > > > > }
> > > > > > > This is when i use ASAConnection Object as
> > > > > > > AsaConnection conn = new
> > > > > > > AsaConnection("dbf=\\ABC\\Demo.db;uid=DBA
> > > > > > > ;pwd=SQL") ; if I comment this line and other
> > > > > > code for ASA Object then it runs fine. >
> > > > > > > Thanks
> > > > > > >
> > > > > > >
> > > >
> > > >
> >
> >


Paperino Posted on 2004-09-21 10:13:52.0Z
From: "Paperino" <paperino@libero.it>
Newsgroups: ianywhere.public.general
References: <40c74165@forums-1-dub> <40c74587.7f18.1681692777@sybase.com> <40c9cb7f@forums-1-dub>
Subject: R: System.TypeLoadException Problem
Lines: 122
Organization: .
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2615.200
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200
X-Original-NNTP-Posting-Host: host178-193.pool21345.interbusiness.it
Message-ID: <415000af@forums-2-dub>
X-Original-Trace: 21 Sep 2004 03:21:35 -0700, host178-193.pool21345.interbusiness.it
X-Original-NNTP-Posting-Host: forums-2-dub.sybase.com
X-Original-Trace: 21 Sep 2004 03:01:11 -0700, forums-2-dub.sybase.com
NNTP-Posting-Host: forums-master.sybase.com
X-Original-NNTP-Posting-Host: forums-master.sybase.com
Date: 21 Sep 2004 03:13:52 -0700
X-Trace: forums-1-dub 1095761632 10.22.108.75 (21 Sep 2004 03:13:52 -0700)
X-Original-Trace: 21 Sep 2004 03:13:52 -0700, forums-master.sybase.com
X-Authenticated-User: ngsysop
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub ianywhere.public.general:3594
Article PK: 7496

Buon giorno

Scusate, questa è una prova di invio di una news.

Ciao

vish <vish2cu@hotmail.com> wrote in message 40c9cb7f@forums-1-dub...
> No. Still getting the same error .A first chance exception of type
> 'System.TypeLoadException' occurred in System.Windows.Forms.dll
>
> I had downloaded & installed EBF for Win32 version 9.0.1841 while for Win CE
> version is i think 9.0.1751 ? is that the problem ...
>
>
> <Craig Hyatt> wrote in message news:40c74587.7f18.1681692777@sybase.com...
> > What do you need ActiveSync for? As far as know you can't
> > ActiveSync to the emulator.
> >
> > Did you solve the problem with the TypeLoadException?
> >
> > Craig
> >
> > > Hi Craig,
> > >
> > > I had installed ASA for windows CE running the wizard..
> > > When i run emulator, i can see ActiveSync icon in start
> > > menu. when try connecting message comes - no partnership
> > > You must establish a partnership with a desktop computer
> > > prior to running ActiveSync.
> > >
> > > Is ActiveSync installed or not? How do i establish
> > > partnership with desktop PC and Emulator? any Connection
> > > properties to set?
> > >
> > > Thanks
> > >
> > > <Craig Hyatt> wrote in message
> > > > news:40c7133e.7b7d.1681692777@sybase.com... To install
> > > > ASA on the emulator, you need to install ASA for Win CE
> > > > onto your PC first. I believe the developer version is
> > > freely available at sybase.com. >
> > > > Since you've applied an EBF to your Win32 version,
> > > > you'll probably want to do so to the Win CE version as
> > > well. >
> > > > Next, run:
> > > >
> > > > Start -> Programs -> SQL Anywhere 9 -> Deploy SQL
> > > > Anywhere for Windows CE
> > > >
> > > > Use the wizard to build a .cab file for the Pocket PC
> > > > 2002 emulator.
> > > >
> > > > Lastly, copy this cab file to the emulator and tap it to
> > > > install. (The wizard might do this for you. If not you
> > > > need to either map a drive to your PC from explorer on
> > > > the emulator and copy it down or add the .cab to your VS
> > > > project as content to be downloaded.)
> > > >
> > > > Craig
> > > >
> > > > > Hi Craig,
> > > > >
> > > > > Thanks for responding.
> > > > >
> > > > > I have added reference.I have upgraded from 9.0.1751
> > > > > to 9.0.1841. Both dbdata9.dll and
> > > > > iAnywhere.Data.AsaClient.dll are same version.
> > > > >
> > > > >
> > > > > .Net2003 reference - D:\Program Files\Microsoft Visual
> > > > > Studio .NET 2003\CompactFrameworkSDK\v1.0.5000\Windows
> > > > > CE\iAnywhere.Data.AsaClient.dll .
> > > > >
> > > > > Emlator.exe - D:\Program Files\Microsoft Visual Studio
> > > > > NET 2003\CompactFrameworkSDK\ConnectionManager\Bin
> > > > >
> > > > > Sybase ASA 9.0 - C:\Program Files\Sybase\SQL Anywhere
> > > > 9 >
> > > > > Do I have to do anything different for installing ASA
> > > > > on emulator. I am new to this.
> > > > >
> > > > > I really need this working urg.
> > > > >
> > > > > Thanks
> > > > >
> > > > > <Craig Hyatt> wrote in message
> > > > > > news:40c614fe.2730.1681692777@sybase.com... And have
> > > > > you installed ASA on the emulator? >
> > > > > > > Do you include a "using iAnywhere.Data.AsaClient;"
> > > > > > > and a reference to the
> > > > > > iAnywhere.Data.AsaClient.dll? >
> > > > > > > Craig
> > > > > > >
> > > > > > > > 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 - A first chance exception of type
> > > > > > > > 'System.TypeLoadException' occurred in
> > > > > > > > System.Windows.Forms.dll at static void Main() {
> > > > > > > > Application.Run( new Form1() );
> > > > > > > > }
> > > > > > > > This is when i use ASAConnection Object as
> > > > > > > > AsaConnection conn = new
> > > > > > > > AsaConnection("dbf=\\ABC\\Demo.db;uid=DBA
> > > > > > > > ;pwd=SQL") ; if I comment this line and other
> > > > > > > code for ASA Object then it runs fine. >
> > > > > > > > Thanks
> > > > > > > >
> > > > > > > >
> > > > >
> > > > >
> > >
> > >
>
>


vish Posted on 2004-06-09 17:13:41.0Z
Reply-To: "vish" <vish2cu@hotmail.com>
From: "vish" <vish2cu@hotmail.com>
Newsgroups: ianywhere.public.general
References: <40c6d90a@forums-1-dub> <40c7133e.7b7d.1681692777@sybase.com>
Subject: Re: System.TypeLoadException Problem
Lines: 86
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
NNTP-Posting-Host: 203.197.53.18
X-Original-NNTP-Posting-Host: 203.197.53.18
Message-ID: <40c74545@forums-1-dub>
Date: 9 Jun 2004 10:13:41 -0700
X-Trace: forums-1-dub 1086801221 203.197.53.18 (9 Jun 2004 10:13:41 -0700)
X-Original-Trace: 9 Jun 2004 10:13:41 -0700, 203.197.53.18
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub ianywhere.public.general:3145
Article PK: 6605

Hi Craig,

In Emulator Programs i can't see sybase ASA
In remove programs its Microsoft .Net CF 1.0 & Microsoft .Net Compact
Framework only

<Craig Hyatt> wrote in message news:40c7133e.7b7d.1681692777@sybase.com...
> To install ASA on the emulator, you need to install ASA for
> Win CE onto your PC first. I believe the developer version
> is freely available at sybase.com.
>
> Since you've applied an EBF to your Win32 version, you'll
> probably want to do so to the Win CE version as well.
>
> Next, run:
>
> Start -> Programs -> SQL Anywhere 9 -> Deploy SQL Anywhere
> for Windows CE
>
> Use the wizard to build a .cab file for the Pocket PC 2002
> emulator.
>
> Lastly, copy this cab file to the emulator and tap it to
> install. (The wizard might do this for you. If not you
> need to either map a drive to your PC from explorer on the
> emulator and copy it down or add the .cab to your VS project
> as content to be downloaded.)
>
> Craig
>
> > Hi Craig,
> >
> > Thanks for responding.
> >
> > I have added reference.I have upgraded from 9.0.1751 to
> > 9.0.1841. Both dbdata9.dll and
> > iAnywhere.Data.AsaClient.dll are same version.
> >
> >
> > .Net2003 reference - D:\Program Files\Microsoft Visual
> > Studio .NET 2003\CompactFrameworkSDK\v1.0.5000\Windows
> > CE\iAnywhere.Data.AsaClient.dll .
> >
> > Emlator.exe - D:\Program Files\Microsoft Visual Studio
> > NET 2003\CompactFrameworkSDK\ConnectionManager\Bin
> >
> > Sybase ASA 9.0 - C:\Program Files\Sybase\SQL Anywhere 9
> >
> > Do I have to do anything different for installing ASA on
> > emulator. I am new to this.
> >
> > I really need this working urg.
> >
> > Thanks
> >
> > <Craig Hyatt> wrote in message
> > > news:40c614fe.2730.1681692777@sybase.com... And have you
> > installed ASA on the emulator? >
> > > > Do you include a "using iAnywhere.Data.AsaClient;" and
> > > > a reference to the iAnywhere.Data.AsaClient.dll?
> > > >
> > > > Craig
> > > >
> > > > > 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 -
> > > > > A first chance exception of type
> > > > > 'System.TypeLoadException' occurred in
> > > > > System.Windows.Forms.dll at static void Main() {
> > > > > Application.Run( new Form1() );
> > > > > }
> > > > > This is when i use ASAConnection Object as
> > > > > AsaConnection conn = new
> > > > > AsaConnection("dbf=\\ABC\\Demo.db;uid=DBA ;pwd=SQL")
> > > > > ; if I comment this line and other code for ASA
> > > > Object then it runs fine. >
> > > > > Thanks
> > > > >
> > > > >
> >
> >