Hi,
I have a custom SQL Server 2000 database that I will be using to drive the interfaces for my ASP.Net application that will be used only on an intranet. My SQL Server 2000 database will be connecting to an Oracle database to synchronize data for a couple of tables so that the master data is always managed in one place, the Oracle side, for those two specific tables.
I will be eventually programmatically connecting via C# and ADO.Net to the Oracle DB. I have installed the Oracle client 10g and created an ODBC connection named 'HMC' to the Oracle DB using the Microsoft ODBC Driver for Oracle successfully on the development machine. Now, my question is:
1. Do I use this DSN named 'HMC' in my ADO.Net code for connecting to the Oracle DB? What is the syntax for doing that, in terms of using the correct provider and connection string?
2. When I deploy this, do I have to install the Oracle client on every user machine on the intranet and create this 'DSN'? If no, do I use a file DSN or totally disregard the DSN way of connecting to the Oracle DB and use something like a linked server to Oracle from the server machine hosting my SQL Server 2000 DB?
3. How would the DSN approach impact the security of my intranet application?
PLEASE ADVISE.
I am a relatively inexperienced ASP.Net programmer but I have programmed with C# and ADO.Net on desktop applications extensively.
Chad
I have a custom SQL Server 2000 database that I will be using to drive the interfaces for my ASP.Net application that will be used only on an intranet. My SQL Server 2000 database will be connecting to an Oracle database to synchronize data for a couple of tables so that the master data is always managed in one place, the Oracle side, for those two specific tables.
I will be eventually programmatically connecting via C# and ADO.Net to the Oracle DB. I have installed the Oracle client 10g and created an ODBC connection named 'HMC' to the Oracle DB using the Microsoft ODBC Driver for Oracle successfully on the development machine. Now, my question is:
1. Do I use this DSN named 'HMC' in my ADO.Net code for connecting to the Oracle DB? What is the syntax for doing that, in terms of using the correct provider and connection string?
2. When I deploy this, do I have to install the Oracle client on every user machine on the intranet and create this 'DSN'? If no, do I use a file DSN or totally disregard the DSN way of connecting to the Oracle DB and use something like a linked server to Oracle from the server machine hosting my SQL Server 2000 DB?
3. How would the DSN approach impact the security of my intranet application?
PLEASE ADVISE.
I am a relatively inexperienced ASP.Net programmer but I have programmed with C# and ADO.Net on desktop applications extensively.
Chad