what i have to add from catalog ?
- SQL Compact
- SQL Mobile
- SQL Server CE 2.0
i tried on a device to create a db via SqlCeEngine.CreateDatabase on sotrage
card
but i get error:
"SQL Mobile encountered problems when creating the database"
HResult : -2147024882
NativeError : 28558
there is enough space on storage card ....
As for the error, convert that HResult value to a hex number and use the
Error Lookup tool to see what it's telling you.
Paul T.
- SQL Compact
- SQL Server CE 2.0
or
- SQL Mobile
- SQL Server CE 2.0
for the result google says is a 'not enough memory' error but i try to
create the database on a 4gb storage card .?!?
Paul T.
"jwei" <jw...@discussions.microsoft.com> wrote in message
news:AE5BA658-F059-4AEB...@microsoft.com...
within platform builder 5 i can choose from these modules:
SQL Compact, SQL Mobile, SQL Server CE 2.0
i choosen SQL Compact and SQL Server CE 2.0 (i think that SQL Compact is
only the provider for .net and SQL Server CE 2.0 is the real server ?)
but i get error as described (sqlengine.createdatabase):
"SQL Mobile encountered problems when creating the database"
HResult : -2147024882
NativeError : 28558
so should i install SQL Server Compact 3.5 for platformbuilder 5 ?
i am using .net cf v2.0 .
> .
>
SQL Compact, SQL Mobile, and SQL Server CE 2.0 are all three different
versions of the same database engine. Pick one.
Paul T.
"jwei" <jw...@discussions.microsoft.com> wrote in message
news:C7D62745-D0EA-4B87...@microsoft.com...
> .
>
[DllImport("coredll.dll", EntryPoint = "LoadLibrary", SetLastError = true)]
public static extern IntPtr LoadLibrary(string lpszLib);
> .
>
i thinked the server is in the platform builder image ? ...
> .
>
Paul T.
"jwei" <jw...@discussions.microsoft.com> wrote in message
news:94FAD9AF-8EB6-4301...@microsoft.com...
Paul T.
"jwei" <jw...@discussions.microsoft.com> wrote in message
news:2451149D-CBAA-4B0A...@microsoft.com...
> .
>
so for my understanding : if i select compact sql in platform builder 5 and
i reference sql ce version 2 in visual studio (maybe 2005?) i dont have to
install the cab's separately (should than also work with Server Compact 3.5
Service Pack for pb5) ?
where i can find the project setting for not deploying SQL CE ?
> .
>
Paul T.
"jwei" <jw...@discussions.microsoft.com> wrote in message
news:98724FE4-EE40-4DA6...@microsoft.com...
Paul T.
"jwei" <jw...@discussions.microsoft.com> wrote in message
news:BA914275-0073-49BF...@microsoft.com...
i have installed PB5 with all monthly updates (cumulative including update
rollup 12/31/2008)
where can i download the update (SQL CE 3.5) for PB5 ???
> .
>
so i will reference the correct version in vs2008 ;)
if i run the application via autostart the database works fine (create
sample db in application)
if i run from within vs2008 everytime the cabs for ce (eg
sqlce.wce5.armv4i.CAB) gets installed - why ??? and how can i turn off ?
but i use sql ce 3.5 sp1 on pc and also sql ce 3.5 sp1
[3.5.5692.0]
GAC_System.Data.SqlServerCe_v3_5_1_0_cneutral_1.dll
[3.5.5386.0]
\Microsoft SQL Server Compact Edition\v3.5\Devices\System.Data.SqlServerCe.dll
so i installed latest ce sp1 for device and now the cabs doesnt get installed