开发者

Mvc3 NHibernate SQLite20Driver error

开发者 https://www.devze.com 2023-03-19 04:54 出处:网络
Has anyone faced this error before. If i try Mvc2, NHibernate, and SQLite it works fine but it breaks with Mvc3

Has anyone faced this error before. If i try Mvc2, NHibernate, and SQLite it works fine but it breaks with Mvc3

The IDbCommand and IDbConnection implementation in the assembly System.Data.SQLite could not be found. Ensure that the assembly System.Data.SQLite is located i开发者_如何学运维n the application directory or in the Global Assembly Cache. If the assembly is in the GAC, use element in the application configuration file to specify the full name of the assembly.


Have you seen this example blog post (if has the same set up you are describing) and has an example project you can look at.

  • NHibernate 3.0
  • SQL Lite
  • MVC 3
  • Fluent NHibernate

I quote from post:-

In order to use SQLite in our project, download the .NET driver from here. Reference the Dlls from your ASP.NET MVC 3 project

0

精彩评论

暂无评论...
验证码 换一张
取 消