Re: System.Data.SqlServerCe

Tech-Archive recommends: Fix windows errors by optimizing your registry



Joon,

This could be the problem that sometimes happens when there is not enough
memory left to load SQL Mobile's unmanaged DLL. Usually moving the code that
causes that DLL to be loaded so that it happens very early in your app's
execution will solve the problem if that's what it is. Strange that it only
happens when you are not debugging - usually it's the other way around. I
assume you've double checked and all the DLLs you expect are there?

--
Ginny Caughey
..NET Compact Framework MVP


"Joon" <onyokski@xxxxxxxxx> wrote in message
news:c2a40faeeb5744ed9531e2d5745da275@xxxxxxxxxxxxxx
SQLCE Gurus please check this out.

I'm getting an unexpected error in my APP.

File or assembly name 'System.Data.SqlServerCe,Version=3.0.3600.0,
Culture=neutral,PublicKeyToken=3BE235DF1C8D2AD3',or one of its
dependencies,
was not found.

I believe I have installed all the 3 required CAB files for SQL CE
including
the .NET CF but still I'm getting this error. However, if I debug the
release version from VS.NET2005 I'm not getting the problem.

Did I missed something? A CAB or dll maybe?
Thanks


.