This problem will occur when running in 64 bit mode with the 32 bit Oracle client components installed

web部署后有幸遇到此问题(调试时没有问题),从网上查询的方法都试了下,无果,有幸看到一文章说IIS中配置程序池的32位的,试了下,可行。

VS中平台修改如下:

以上仅供各位参考!也许对遇到相同报错的有点儿帮助……

原文地址:https://www.cnblogs.com/chengcanghai/p/14115882.html