Quantcast
Channel: SQL Server Compact Forum
Viewing all articles
Browse latest Browse all 193

.sdf corruption?

$
0
0

We are using SQL CE as a subscriber in a merge replication topology.  Occasionally, users get the following error when trying to sync with the publisher:


Cannot connect to C:\[pathRemovedByPoster]\DB.sdf.
Invalid provider type. [ Db version = 0,Requested version = 1,File name = \\?\C:\[pathRemovedByPoster]\DB.sdf ] (SQL Server Compact ADO.NET Data Provider)

I get the same error when I try to connect to the .sdf directly through SSMS.  I am under the impression that this is caused by .sdf corruption.  Is this true?  How can I tell?  I've seen the C# code that allows you to verify corruption, but does anyone know of a utility I can use so I won't have to get developers involved?  Is there any other info I can provide her that will help diagnose the problem?

Thanks in advance,

Clint


Clint


Viewing all articles
Browse latest Browse all 193

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>