在64位机器上使用32位的dll

今天发布iis的时候发现如下错误:

Could not load file or assembly 'System.Data.SQLite' or one of its dependencies.
An attempt was made to load a program with an incorrect format.

google后发现可做如下iis的修改

但是oracle.DataAccess本来64位的dll现在也要改成32位的dll了,要不然也会报同样的错。

最终找了一个64位的sqllite解决此问题,64位sqllite下载:

https://files.cnblogs.com/zyizyizyi/System.Data.SQLite.rar
原文地址:https://www.cnblogs.com/zyizyizyi/p/2670567.html