I have an old VB.Net application which requires the Oracle client to be installed and uses the tnsnames.ora file on the target machine.
I have a field in My.Settings defined as the following:
Provider=MSDAORA;Data Source=MySourceName;Persist Security Info=True;Password=MyPass;User ID=MyUser
Is there a way to have it connect directly?
I tried changing the connection string using EZCONNECTION, but get an error:
Data Source=10.1.1.12:1521;Persist Security Info=True;User ID=MyUser;Password=MyPass;Unicode=True
Error message on compile:
An OLE DB Provider was not specified in the ConnectionString.
I am using Visual Studio 2019.
MSDAORAis the ancient, deprecated driver from Microsoft. It exists only for 32-bit. Your question is not clear, you ask "Oracle Connection string without installing Oracle client" but then you write "an application which requires the Oracle client to be installed"ORA-12514: TNS:listner does not currently know of the service requested in connect descriptor. Same with Unmanaged. I am assuming that the Data Source name is the same as the Service Name.