解决方案:
1、需要在IIS里设置,启用32位应用程序我用的是iis7
把启用32位应用程序的false改为true2、下载 System.Data.SQLite.dll 的64位驱动。
地址如下:
http://www.sqlite.org/download.html