I'm using Visual Studio 2010, finished my job and now trying to publish my application. I need to deploy a SQL Server Compact 3.5 database by using private file–based deployment. Did everything in order what found at this forum http://msdn.microsoft.com/en-us/library/aa983326.aspx .

The problem is when I copy seven DLLs to the Server Explorer - my application doesn't work (Datagridview doesn't load any data, even Listbox shows up empy). Then if I remove sqlceme35.dll from Server Explorer (just this one) everything works fine, but then I can't install application on a different computer, I get an error message:

Code:
Unable to load the native components of SQL Server Compact corresponding to the ADO.NET provider of version 8080. Install the correct version of SQL Server Compact. Refer to KB article 974247 for more details.
As I understand that's because sqlceme35.dll was not included.

Does anybody has an idea what's up with this DLL ?