Nhibernate下操作SQLite报错
来源:互联网 发布:淘宝商城童鞋 编辑:程序博客网 时间:2024/05/22 03:08
"Error creating context 'spring.root': Error thrown by a dependency of object 'SQLite-1.0.47' defined in 'assembly [Spring.Data, Version=2.0.0.40000, Culture=neutral, PublicKeyToken=null], resource [Spring.Data.Common.dbproviders.xml] line 1376' : Unsatisfied dependency expressed through constructor argument with index 2 of type [System.Type] : Could not convert constructor argument value [System.Data.SQLite.SQLiteConnection, System.Data.SQLite, Version=1.0.47.0, Culture=neutral, PublicKeyToken=db937bc2d44ff139] to required type [System.Type] : Cannot convert property value of type [System.String] to required type [System.Type] for property ''.\r\n while resolving 'constructor argument with name dbmetadata' to 'Spring.Data.Common.DbMetadata#13E2EF' defined in 'assembly [Spring.Data, Version=2.0.0.40000, Culture=neutral, PublicKeyToken=null], resource [Spring.Data.Common.dbproviders.xml] line 1376'"
解决办法:在app.config中加入
<startup useLegacyV2RuntimeActivationPolicy="true"> <supportedRuntime version="v4.0"/> </startup>
- Nhibernate下操作SQLite报错
- sqlite命令行下操作
- QT5 下操作sqlite数据库
- ubuntu android 命令环境下操作sqlite
- Android多线程下操作sqlite数据库解决方案
- 测试在多线程下操作sqlite内存数据库(转)
- 测试在多线程下操作sqlite内存数据库
- unity3d在android环境下操作sqlite数据库
- linux下操作报: environment variable DISPLAY is not set
- .NET下操作注册表
- android下操作FrameBuffer
- linux下操作
- android下操作FrameBuffer
- android下操作FrameBuffer
- android下操作FrameBuffer
- vs2008下操作Excel
- linux下操作tomcat
- windows下操作mysql
- 程序员不得不知道20个位运算
- hdu3336
- KMP 模版
- “MVC+Nhibernate+Jquery
- 黑马程序员 自学日记(七)集合框架
- Nhibernate下操作SQLite报错
- 硬盘的扇面、磁道、扇区,磁柱
- 题目1176:树查找
- 如何设计一门语言(八)——异步编程和CPS变换
- win7系统如何减少右键功能项
- UVA 11462 Age Sort
- 安卓开发之添加背景图
- VB.net学习笔记(六)VB.net的对象
- Android permission 访问权限大全