BadImage Exception in VS2017

0

I am getting error while running the program at VS2017 [C#]. While I am running at my local system it is running fine. No error I am getting. But when I am build the solution and put the solution at the Prod server I am getting error. My mainlogin page is coming fine at prod server. But when I am trying to login using userid and password I am getting error. What I have tried is a) at IIS I enable 32 bit b) Configure Any cpu at VS2017. but no luck. Below is the error

BadImageFormatException: An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B)]
   Oracle.DataAccess.Client.OpsInit.CheckVersionCompatibility(String version) +0
   Oracle.DataAccess.Client.OracleInit.Initialize() +388
   Oracle.DataAccess.Client.OracleConnection..cctor() +936

Please advice

c#
oracle11g
asked on Stack Overflow Feb 11, 2020 by Pokhraj

0 Answers

Nobody has answered this question yet.


User contributions licensed under CC BY-SA 3.0