iis配置問題報錯 -- Could not load file or assembly 'Oracle.DataAccess' or one of its dependencies


 

具體提示:

Could not load file or assembly 'Oracle.DataAccess' or one of its dependencies. 試圖加載格式不正確的程序。

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.BadImageFormatException: Could not load file or assembly 'Oracle.DataAccess' or one of its dependencies. 試圖加載格式不正確的程序。

 

解決方案:

因為這個Oracle.DataAccess.dll為32位,所以應用程序不兼容造成此種錯誤。具體解決方法如下。

在IIS應用程序池中,啟用32位應用程序設置為true即可。

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM