By
admin on Wednesday, August 11th, 2010 |
32 Comments
Hi there
I have a VS2008 project with a CE3.5 database. I am unable to open this database within SQL 2005 Management Studio only VS2008. Any way of updating the CE engine for Management Studio?
"You are trying to access an older version of a SQL Server Compact Edition database (this is lying I know the db is 3.5+)"
[Db version 3505053, Requested version=3004180]
Thanks
________________________________________________
STUDENT LOAN CONSOLIDATION INFO
http://student-loan-consolidation-info-info.blogspot.com
Try using ODBC or repair your db
File.Copy(@"F:\northwind.sdf",@"F:\northwind.sdf.temp");
File.Delete(@"F:\northwind.sdf");
SqlCeEngine
engine = new SqlCeEngine(@"Data Source
=F:northwind.sdf.temp");
engine.Compact(@"Data
Source=F:\northwind.sdf");
File.Delete(@"F:\northwind.sdf.temp");