The issue is resolved. I had a assembly reference in my web.config
where there was a version mismatch between it and the assembly present inside the bin folder:
<add assembly="Oracle.DataAccess, Version=4.112.3.0, Culture=neutral, PublicKeyToken=89B483F429C47342"/>