I'm getting this error on vb6 when trying to connect to an oracle database, debugging puts me in this line, oracon.Open
, here's my connection string.
Provider=MSDAORA.1;User ID=user;Password=pwd;Data Source=orcl;Persist Security Info=False
I started getting this error when I installed Oracle DataAccess for .NET since System.Data.OracleClient
was no longer supported for .NET Framework 4 and up.
My programs developed in .NET still works fine, even old ones developed in Visual Studio 2008/.NET Framework 3.5 using System.Data.OracleClient
. But when I opened some legacy systems developed in vb6 I get that error.
Edit: The oracle server is 11gr2, my first client install on the pc is 11gr1. The Oracle DataAccess version I installed is the latest which was around 12... forgot the exact version