So here is the problem. This application I have uses ODAC components but I don't want to have to install oracle clients on all the computers the application has to be installed on. So I fallowed this article below:
What is the minimal setup required to deploy a .NET application with Oracle client 11?
The article works well with computers that have some sort of oracle installed or at least tnsnames.ora is in the correct location. However on a fresh machine I receive the error ORA-12645: Parameter does not exist. I have tried packaging the tnsnames.ora along with sqlnet.ora but the .dlls can’t find them. The code below is where the error is coming from:
g_Db.ConnectionString = "Data Source=(DESCRIPTION= (ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=osw-rmoradev)(PORT=1523))) (CONNECT_DATA=(SERVER=DEDICATED)(SID=RML3A))); User Id=RM_Level3;Password="passowrd";"
g_Db.Open()
Any Ideas on how to package the .ora files will be helpful.