IIS configuration Problem Error--Could not load file or assembly ' oracle.dataaccess ' or one of its dependencies

Source: Internet
Author: User
Tags stack trace

Specific tips:

Could not load file or assembly ' oracle.dataaccess ' or one of its dependencies. An attempt was made to load a program that is not properly formatted.

Description: An unhandled exception occurred during, the execution of the current Web request. Review the stack trace for more information about the error and where it is originated in the code.
Exception Details: System.BadImageFormatException:Could not load file or assembly ' oracle.dataaccess ' or one of its dependencies. An attempt was made to load a program that is not properly formatted.

Solution:

Because this Oracle.DataAccess.dll is 32-bit, the application incompatibility causes this kind of error. The specific solution is as follows.

In the IIS application pool, enable the 32-bit application to be set to true.

IIS configuration Problem Error--Could not load file or assembly ' oracle.dataaccess ' or one of its dependencies

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.