I get the following error when I try to configure NHibernate. I am using VS2015 enterprise edition, SQL server 2016 and NHibernate 3.3.3SP1 (I tried with the latest NHibernate but result is same) in windows 10 64 bit. I believe it is related to System.Data.SqlServerCe (System.Data.SqlServerCe.dll). I copied that dll to the Required_Bins folder.
SqlServerCeDriver
is not for accessing full blown SQL Server, Sql Server Compact is another product. Your configuration is probably wrong, it should use SqlClientDriver
instead.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.