Connecting to Oracle
-
Dear all, How can I connect to an Oracle database under Linux from a ASP.Net Web (intranet) application to be hosted on IIS. To summarize the platform is as follows IIS on Windows 2003 - Web Server Oracle 10g under Red Hat Linux - database (Note: database is on Linux platform) Application has been developed in ASP.NET in Visual Studio 2008. What all settings do I need to make to make this application connect to Oracle. Thanx in advance.
-
Dear all, How can I connect to an Oracle database under Linux from a ASP.Net Web (intranet) application to be hosted on IIS. To summarize the platform is as follows IIS on Windows 2003 - Web Server Oracle 10g under Red Hat Linux - database (Note: database is on Linux platform) Application has been developed in ASP.NET in Visual Studio 2008. What all settings do I need to make to make this application connect to Oracle. Thanx in advance.
Add OracleClient.dll and use OracleConnection object. Just pass Username and password with Datasource .. And I think it will connect. Let me know what problems you are facing ? I think only writing correct connectionstring will do everything. :)
Abhishek Sur **Don't forget to click "Good Answer" if you like this Solution.
My Latest Articles-->** Microsoft Bing MAP using Javascript
CLR objects in SQL Server 2005
Uncommon C# Keywords/xml> -
Dear all, How can I connect to an Oracle database under Linux from a ASP.Net Web (intranet) application to be hosted on IIS. To summarize the platform is as follows IIS on Windows 2003 - Web Server Oracle 10g under Red Hat Linux - database (Note: database is on Linux platform) Application has been developed in ASP.NET in Visual Studio 2008. What all settings do I need to make to make this application connect to Oracle. Thanx in advance.
v1i9n6o7d wrote:
What all settings do I need to make to make this application connect to Oracle.
You need to give only the server IP address or name and user id , password for Database server. Make Sure network conection established properly.
Abhijit Jana | Codeproject MVP Web Site : abhijitjana.net Don't forget to click "Good Answer" on the post(s) that helped you.