1、需要在IIS里设置,启用32位应用程序
我用的是iis 7.5

把启用32位应用程序的false改为true
2、下载 System.Data.SQLite.dll 的64位驱动。
下载之后直接替换 bin目录下的System.Data.SQLite.dll 程序集
地址如下:
http://www.sqlite.org/download.html
Precompiled Binaries For .NET
http://system.data.sqlite.org/index.html/doc/trunk/www/downloads.wiki
http://system.data.sqlite.org/index.html/doc/trunk/www/downloads.wiki