Data Application Book SQL CE 3.5 dll issue

Topics: Data Access Application Block
Jan 27, 2010 at 10:24 AM

Hey there,

Just new to the enterprise library,

I have VS 2008  installed with SQL 2008 and SQLCE 3.5.

when using the following code i get this error Unable to load DLL 'sqlceme35.dll',


string constr = @"Data Source=C:\rich.sdf";

SqlCeDatabase c = new SqlCeDatabase(constr);

bool exist = c.TableExists("files");
When accessing the database not using the enterprise library it works ok, any ideas ?!?!?
Jan 27, 2010 at 10:51 AM

So to answer my own question, this does not seem to work with express editions of VS, i tried the pro version and everything works as expected!