I have code using .Net 4.6, c# and running using EF6 nuget package : Oracle.ManagedDataAccess.12.1.24160719 Oracle.ManagedDataAccess.EntityFramework.12.1.2400
Code deployed on local IIS works fine, when deployed on dev server (IIS 7) getting attached ORA-12570: Network Session: Unexpected packet read error. (Note I have deployed on other local iis also, it works )
We found that we had below product version in GAC (it has same file version and public token)
Oracle.ManagedDataAccess.dll 4.121.2.20150926 ODAC RELEASE 4
we are using Oracle.ManagedDataAccess.dll 4.121.2.20160624 ODAC RELEASE 4 (nuget package)
When we replaced the dll with the new product version in GAC or removed the dll from GAC - our app start working