I am having random native exception and all of those exceptions have this method common i.e at SqlCeCommand.set_CommandText(String value). I am using .NETCE 3.5, SQLCE 3.5
SP2, i.e. System.Data.SqlServerCe.dll version 3.5.8080.0 and I also verified the version of Native dlls and it matches with managed dll.
Can anyone know why I am getting this native exception?
Here is the exception stack
Faulting module: sqlceqp35.dll
at NativeMethods.SafeRelease(IntPtr& ppUnknown)