简体   繁体   中英

NHibernate exception with VS 2015 enterprise edition

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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM