当前位置:首页 > 服务器技术 > IIS

iis配置问题报错 -- 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. 试图加载格式不正确的程序。

iis配置问题报错 -- Could not load file or assembly 'Oracle.DataAccess' or one of its dependencies - 文章图片

 

解决方案:

因为这个Oracle.DataAccess.dll为32位,所以应用程序不兼容造成此种错误。具体解决方法如下。

在IIS应用程序池中,启用32位应用程序设置为true即可。

iis配置问题报错 -- Could not load file or assembly 'Oracle.DataAccess' or one of its dependencies - 文章图片

 

iis配置问题报错 -- Could not load file or assembly 'Oracle.DataAccess' or one of its dependencies

标签:ima   view   font   handle   idt   ring   out   tac   设置   

本文系统来源:http://www.cnblogs.com/arxive/p/7251629.html


【说明】本文章由站长整理发布,文章内容不代表本站观点,如文中有侵权行为,请与本站客服联系(QQ:254677821)!