I'm trying to do a database replication. Upon executing the code I got
this "This application requires a newer version of the Microsoft .NET
Compact Framework than the version installed on this device". The
"Details" error: TypeLoadException Could not load type
System.Data.SqlServerCe.SqlCeConnection from assembly
system.Data.SqlServerCe,Version=1.0.5000.0, Culture=neutral,
PublicKeyToken=969DB8053D3322AC. FYI, I'm not using visual studio
.net, I'm using sharpdevelop. Do I need extra steps for deployment?
Thanks!

Re: Newer version of .NET CF required by Jean-Luc

Jean-Luc
Mon Apr 19 01:43:24 CDT 2004

Hi Jonathan,

That particular namespace is available as part of the .NET Compact
Framework SDK. Unfortunately, the SDK is bundled with Visual
Studio .NET 2003 and not currently available as a standalone
download AFAIK.

Depending on what device/emulator you are using, you might want
to try the .NET Compact Framework 1.0 SP2 Redistributable:

http://www.microsoft.com/downloads/details.aspx?FamilyID=359ea6da-fc5d-41cc-ac04-7bb50a134556

If you provide more information about your development environment
I might be able to help you out further.

Thanks,
Jean-Luc David
Microsoft .NET MVP
dotnetmvp@hotmail.com
http://www.stormpixel.com
http://www.mobilecoder.net

---------------------------------------------------------------------------
> I'm trying to do a database replication. Upon executing the code I got
> this "This application requires a newer version of the Microsoft .NET
> Compact Framework than the version installed on this device". The
> "Details" error: TypeLoadException Could not load type
> System.Data.SqlServerCe.SqlCeConnection from assembly
> system.Data.SqlServerCe,Version=1.0.5000.0, Culture=neutral,
> PublicKeyToken=969DB8053D3322AC. FYI, I'm not using visual studio
> .net, I'm using sharpdevelop. Do I need extra steps for deployment?
> Thanks!



Re: Newer version of .NET CF required by huffie

huffie
Mon Apr 19 05:27:37 CDT 2004

Hi Jean-Luc,
Thanks for your response. I'm trying to run the application on my
IPAQ 2210 installed with .NET CF 1.0 SP2 Redistributable. After
reading and following the steps from
http://dotnetdn.com/without-visual-studio/ I thought I could use the
free IDE from icsharpcode.net (as I'm trying to develop on an
extremely low budget) for development. Hope this is sufficient for you
to help me further. TIA. Cheers!

Jonathan

"Jean-Luc David [MVP]" <dotnetmvp@hotmail.com> wrote in message news:<gyKgc.1$WK2.0@newssvr16.news.prodigy.com>...
> Hi Jonathan,
>
> That particular namespace is available as part of the .NET Compact
> Framework SDK. Unfortunately, the SDK is bundled with Visual
> Studio .NET 2003 and not currently available as a standalone
> download AFAIK.
>
> Depending on what device/emulator you are using, you might want
> to try the .NET Compact Framework 1.0 SP2 Redistributable:
>
> http://www.microsoft.com/downloads/details.aspx?FamilyID=359ea6da-fc5d-41cc-ac04-7bb50a134556
>
> If you provide more information about your development environment
> I might be able to help you out further.
>
> Thanks,
> Jean-Luc David
> Microsoft .NET MVP
> dotnetmvp@hotmail.com
> http://www.stormpixel.com
> http://www.mobilecoder.net
>
> ---------------------------------------------------------------------------
> > I'm trying to do a database replication. Upon executing the code I got
> > this "This application requires a newer version of the Microsoft .NET
> > Compact Framework than the version installed on this device". The
> > "Details" error: TypeLoadException Could not load type
> > System.Data.SqlServerCe.SqlCeConnection from assembly
> > system.Data.SqlServerCe,Version=1.0.5000.0, Culture=neutral,
> > PublicKeyToken=969DB8053D3322AC. FYI, I'm not using visual studio
> > .net, I'm using sharpdevelop. Do I need extra steps for deployment?
> > Thanks!

Re: Newer version of .NET CF required by Jean-Luc

Jean-Luc
Mon Apr 19 07:03:48 CDT 2004

Hi Jonathan,

I would first compare the version of the System.Data.SqlServerCe.dll
modules in both your PocketPC and your development computer.

Secondly, on the http://dotnetdn.com/without-visual-studio/ webpage,
the following line caught my attention:

"For this method you will have not all libraries (for example
system.data.sqlclient.dll,
system.data.sqlserverce.dll), what you will have in the first set of
libraries"

What exactly did you install on your development machine? Platform
Builder 4.2? Did you uncompress the netcf.core.ppc3.ARM.cab file as
directed? Where did you get your System.Data.SqlServerCe.dll?

This could also account for the error message.
Let me know the results. Good luck!

Thanks,
Jean-Luc David
dotnetmvp@hotmail.com
http://www.stormpixel.com
http://www.mobilecoder.net

---------------------------------------------------------------------------
> Hi Jean-Luc,
>
> Thanks for your response. I'm trying to run the application on my
> IPAQ 2210 installed with .NET CF 1.0 SP2 Redistributable. After
> reading and following the steps from
> http://dotnetdn.com/without-visual-studio/ I thought I could use the
> free IDE from icsharpcode.net (as I'm trying to develop on an
> extremely low budget) for development. Hope this is sufficient for you
> to help me further. TIA. Cheers!
>
> Jonathan



Re: Newer version of .NET CF required by huffie

huffie
Mon Apr 19 21:43:05 CDT 2004

Hi Jean-Luc,
Ok..after following your advice, I managed to get the thing
working.. yippeee..what did i do? Don't shoot me, yeah? :P I copied
the relevant dll's to the same directory as my application and it
worked (yeah.. i'm a n00b to Microsoft's programming). I thought by
running netcf.core.ppc3.ARM.cab in the iPaq would install everything
but guess not. Anyways I really appreciate your time responding to my
thread. Thanks again. Cheers!

Jonathan

"Jean-Luc David [MVP]" <dotnetmvp@hotmail.com> wrote in message news:<EePgc.9739$bY4.9141@newssvr31.news.prodigy.com>...
> Hi Jonathan,
>
> I would first compare the version of the System.Data.SqlServerCe.dll
> modules in both your PocketPC and your development computer.
>
> Secondly, on the http://dotnetdn.com/without-visual-studio/ webpage,
> the following line caught my attention:
>
> "For this method you will have not all libraries (for example
> system.data.sqlclient.dll,
> system.data.sqlserverce.dll), what you will have in the first set of
> libraries"
>
> What exactly did you install on your development machine? Platform
> Builder 4.2? Did you uncompress the netcf.core.ppc3.ARM.cab file as
> directed? Where did you get your System.Data.SqlServerCe.dll?
>
> This could also account for the error message.
> Let me know the results. Good luck!
>
> Thanks,
> Jean-Luc David
> dotnetmvp@hotmail.com
> http://www.stormpixel.com
> http://www.mobilecoder.net
>
> ---------------------------------------------------------------------------
> > Hi Jean-Luc,
> >
> > Thanks for your response. I'm trying to run the application on my
> > IPAQ 2210 installed with .NET CF 1.0 SP2 Redistributable. After
> > reading and following the steps from
> > http://dotnetdn.com/without-visual-studio/ I thought I could use the
> > free IDE from icsharpcode.net (as I'm trying to develop on an
> > extremely low budget) for development. Hope this is sufficient for you
> > to help me further. TIA. Cheers!
> >
> > Jonathan

Re: Newer version of .NET CF required by huffie

huffie
Tue Apr 20 04:06:29 CDT 2004

ok.. now i'm having another problem with SqlCE* . Everytime I tried to
call a method I get MissingMethodException (eg. SqlCeReplication).
What I did previously was to dump all dll's into the same directory
and run and I got my app to run to a certain point and now I can't
execute sql command. Do I need anything to register or save the dll
files? I re-installed CF 1.0 SP2 and still can't get it to work :(

Re: Newer version of .NET CF required by Chris

Chris
Tue Apr 20 06:12:08 CDT 2004

have you reinsalled the SQL CE files? I think they must be in the \Windows
folder, not the app folder.

-Chris


"Jonathan" <huffie@hotmail.com> wrote in message
news:a7985ec0.0404200106.65a4bff6@posting.google.com...
> ok.. now i'm having another problem with SqlCE* . Everytime I tried to
> call a method I get MissingMethodException (eg. SqlCeReplication).
> What I did previously was to dump all dll's into the same directory
> and run and I got my app to run to a certain point and now I can't
> execute sql command. Do I need anything to register or save the dll
> files? I re-installed CF 1.0 SP2 and still can't get it to work :(



Re: Newer version of .NET CF required by huffie

huffie
Tue Apr 20 12:22:10 CDT 2004

Hi Chris,
Yup I did reinstall SQL CE sp3 as the SQL server I'm using is SP3.
However, SqlCeReplication is under System.Data.SqlServerCe.dll, which
I doubt is in the installation of SqlCE (or I might be wrong). Am I
missing some steps? Thanks!


regards,
Jonathan


"Chris Tacke, eMVP" <ctacke[at]Open_NET_CF[dot]org> wrote in message news:<#h5VigsJEHA.620@tk2msftngp13.phx.gbl>...
> have you reinsalled the SQL CE files? I think they must be in the \Windows
> folder, not the app folder.
>
> -Chris
>
>
> "Jonathan" <huffie@hotmail.com> wrote in message
> news:a7985ec0.0404200106.65a4bff6@posting.google.com...
> > ok.. now i'm having another problem with SqlCE* . Everytime I tried to
> > call a method I get MissingMethodException (eg. SqlCeReplication).
> > What I did previously was to dump all dll's into the same directory
> > and run and I got my app to run to a certain point and now I can't
> > execute sql command. Do I need anything to register or save the dll
> > files? I re-installed CF 1.0 SP2 and still can't get it to work :(

Re: Newer version of .NET CF required by Chris

Chris
Tue Apr 20 13:12:20 CDT 2004

I think there's a single CAB file install for the entire db and query
engine. Just copy it to the device and run it.

--
Chris Tacke, eMVP
Co-Founder and Advisory Board Member
www.OpenNETCF.org
---
Windows CE Product Manager
Applied Data Systems
www.applieddata.net


"Jonathan" <huffie@hotmail.com> wrote in message
news:a7985ec0.0404200922.18cf634e@posting.google.com...
> Hi Chris,
> Yup I did reinstall SQL CE sp3 as the SQL server I'm using is SP3.
> However, SqlCeReplication is under System.Data.SqlServerCe.dll, which
> I doubt is in the installation of SqlCE (or I might be wrong). Am I
> missing some steps? Thanks!
>
>
> regards,
> Jonathan
>
>
> "Chris Tacke, eMVP" <ctacke[at]Open_NET_CF[dot]org> wrote in message
news:<#h5VigsJEHA.620@tk2msftngp13.phx.gbl>...
> > have you reinsalled the SQL CE files? I think they must be in the
\Windows
> > folder, not the app folder.
> >
> > -Chris
> >
> >
> > "Jonathan" <huffie@hotmail.com> wrote in message
> > news:a7985ec0.0404200106.65a4bff6@posting.google.com...
> > > ok.. now i'm having another problem with SqlCE* . Everytime I tried to
> > > call a method I get MissingMethodException (eg. SqlCeReplication).
> > > What I did previously was to dump all dll's into the same directory
> > > and run and I got my app to run to a certain point and now I can't
> > > execute sql command. Do I need anything to register or save the dll
> > > files? I re-installed CF 1.0 SP2 and still can't get it to work :(



Re: Newer version of .NET CF required by huffie

huffie
Tue Apr 20 22:58:36 CDT 2004

Hi Chris,
Don't think I'm able to find any CAB files for SqlCE. The
SqlCeReplication should be under System.Data.SqlServerCe.dll and the
file is there, but seemed that my apps couldn't find it. Any registry
update required? :( . Have you tried installing without using VS .NET?
Many thanks!

regards,
Jonathan

"Chris Tacke, eMVP" <ctacke@spamfree-opennetcf.org> wrote in message news:<#J4VHMwJEHA.428@TK2MSFTNGP11.phx.gbl>...
> I think there's a single CAB file install for the entire db and query
> engine. Just copy it to the device and run it.
>
> --
> Chris Tacke, eMVP
> Co-Founder and Advisory Board Member
> www.OpenNETCF.org
> ---
> Windows CE Product Manager
> Applied Data Systems
> www.applieddata.net
>
>
> "Jonathan" <huffie@hotmail.com> wrote in message
> news:a7985ec0.0404200922.18cf634e@posting.google.com...
> > Hi Chris,
> > Yup I did reinstall SQL CE sp3 as the SQL server I'm using is SP3.
> > However, SqlCeReplication is under System.Data.SqlServerCe.dll, which
> > I doubt is in the installation of SqlCE (or I might be wrong). Am I
> > missing some steps? Thanks!
> >
> >
> > regards,
> > Jonathan
> >
> >
> > "Chris Tacke, eMVP" <ctacke[at]Open_NET_CF[dot]org> wrote in message
> news:<#h5VigsJEHA.620@tk2msftngp13.phx.gbl>...
> > > have you reinsalled the SQL CE files? I think they must be in the
> \Windows
> > > folder, not the app folder.
> > >
> > > -Chris
> > >
> > >
> > > "Jonathan" <huffie@hotmail.com> wrote in message
> > > news:a7985ec0.0404200106.65a4bff6@posting.google.com...
> > > > ok.. now i'm having another problem with SqlCE* . Everytime I tried to
> > > > call a method I get MissingMethodException (eg. SqlCeReplication).
> > > > What I did previously was to dump all dll's into the same directory
> > > > and run and I got my app to run to a certain point and now I can't
> > > > execute sql command. Do I need anything to register or save the dll
> > > > files? I re-installed CF 1.0 SP2 and still can't get it to work :(