From: chris-s on
I'm trying to rebuild an existing WM5 application running on a CE5
device, but the SQLServerCE is giving errors.

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

The exception suggests that there were missing SQLServer dll's even
tho I'm certain I had installed all the relevant cab files. In order
to track down what could be going wrong, I created a new project with
a single button that creates a new database file and then used the
deploy/debug in VS2008 to deploy all the required files to the device.
This gave the same error.

The device lists the following as having been installed...

SQLSeverCompact 3.5 Core
SQLServerCompact 3.5 Repl
SQLServerCompact 3.5 Tools EN

Any ideas?
From: chris-s on
I should have added, that the 'test' app deploys and runs as expected
on WM and if I use the SQL Server Query tool that gets installed on
the ce device, it seems to work fine, allowing me to create a new
database. This pretty much confirms that all the files are installed
correctly... I think!

Chris