Can't find PInvoke DLL 'sqlceme30.dll'.


I am trying to run SQL Server Compact Edition on the Digi ConnectCore 9M 2443 however I keep getting the following error on this line of code:

Dim conConnection As New System.Data.SqlServerCe.SqlCeConnection

This is the error:

An unhandled exception of type ‘System.MissingMethodException’ occurred in System.Data.SqlServerCe.dll

Additional information: Can’t find PInvoke DLL ‘sqlceme30.dll’.

I have checked the correct version of SQL Server CE and the Compact Framework version are installed.

Any help would be gratefully received.



I think must first make sure that the sqlceme30.dll is included in the OS build. You can view this by connecting the process viewer in the remote tools of Visual Studio. If its not running, you probably forgot to include it in the platformbuilder.

kind regards,