I am trying to connect to an oracle database from my website (asp.net-mvc). The only information i have to connect to the database is ODBC instructions which tells me to go:
It says to go into an oracle directory on the machine and enter this into a
TSNNames.ora
file and enter this in:DBNAME=(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=[machine])(port=[port])) (CONNECT_DATA=(SID=[DBNAME])))
and then go to control panel and manually add a connection through the GUI wizard.
Is there anyway i can connect to this database without have to set this up? I was hoping to simply stick a connection string in and be on my way. I deploy to different machines and i dont want the burden of having to update the .ora files or walk through this GUI wizard setup.
Does anyone have a suggestion for me?