Using Fluent NHibernate and MsSqlCeConfiguration, I wanted to use an SQL Compact DB for my Database by changing the FluentConfiguration but I started getting the errors from the InnerException.
"Could not create the driver from NHibernate.Driver.SqlServerCeDriver"
The fix is simples,
You need to add a reference to
"System.Data.SqlServerCe"
Located in
"C:\Program Files\Microsoft SQL Server Compact Edition\v3.5\Desktop\System.Data.SqlServerCe.dll"
If you don't have it, you'll need to install it from.
http://www.microsoft.com/sqlserver/2005/en/us/compact-downloads.aspx
Once you've added it you need to set the
"Copy Local" to true.
Then you should be good to go.
"Could not create the driver from NHibernate.Driver.SqlServerCeDriver"
The fix is simples,
You need to add a reference to
"System.Data.SqlServerCe"
Located in
"C:\Program Files\Microsoft SQL Server Compact Edition\v3.5\Desktop\System.Data.SqlServerCe.dll"
If you don't have it, you'll need to install it from.
http://www.microsoft.com/sqlserver/2005/en/us/compact-downloads.aspx
Once you've added it you need to set the
"Copy Local" to true.
Then you should be good to go.