Oracle.ManagedDataAccess not resolving alias in connection string
I'm getting the following error while trying to connect to an Oracle database from a new VB.NET 4.5 application "ORA-00351: Network Library: Name-Value premature end of string" It seems like OracleConnection is not resolving the alias I am putting in my connection string Me.sCNX = "Data Source=" & sDSN & ";User ID=" & sUSER & ";Password=" & sPWD & ";Enlist=false;Pooling=False;" sDSN being the said alias I have to put the tnsnames.ora file in a custom folder, so I tried to add the environment variable TNS_ADMIN to the right directory, didn't work much I tried to put a setting line in app.config