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