Which oracle Data provider should I use for C#/VS 2005 ASP 2.0?http://forums.asp.net/t/1745441.aspx/1?Which+oracle+Data+provider+should+I+use+for+C+VS+2005+ASP+2+0+Sun, 11 Dec 2011 04:43:51 -050017454414710912http://forums.asp.net/p/1745441/4710912.aspx/1?Which+oracle+Data+provider+should+I+use+for+C+VS+2005+ASP+2+0+Which oracle Data provider should I use for C#/VS 2005 ASP 2.0? <p>Hi All,</p> <p>I have to make my first database connection to Oracle Version: Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - 64bit Production, and I wanted to know. What is the best Data provider should I use, using VS 2005 ASP 2.0/C#?</p> <p>Thanks.</p> <p></p> <p>Matt</p> 2011-12-01T18:08:34-05:004710923http://forums.asp.net/p/1745441/4710923.aspx/1?Re+Which+oracle+Data+provider+should+I+use+for+C+VS+2005+ASP+2+0+Re: Which oracle Data provider should I use for C#/VS 2005 ASP 2.0? <p>I would initially try to use the latest 11g provider from Oracle.&nbsp; If this doesn't work (likely because it's too new for ASP.NET 2.0), then I would try using either the ODBC or OLEDB provider from .NET and try to connect to your Oracle database that way.</p> 2011-12-01T18:13:37-05:004711122http://forums.asp.net/p/1745441/4711122.aspx/1?Re+Which+oracle+Data+provider+should+I+use+for+C+VS+2005+ASP+2+0+Re: Which oracle Data provider should I use for C#/VS 2005 ASP 2.0? <p>Lastest ODP.NET fully supports ASP.NET 2.0/3.5 communicating with either Oracle 10g or 11g, 32-bit or 64 bit database.</p> <p>You will have to install the 32-bit ODP.NET CLIENT in a new Oracle home on the web server or application server if you are running 32-bit compiled applications.</p> <p>If the database is 64-bit and on the same machine as the web server, you can still use the ODP.NET 32-bit CLIENT install in a new Oracle home and run 32-bit applications.</p> <p>&nbsp;</p> 2011-12-01T21:14:53-05:004716624http://forums.asp.net/p/1745441/4716624.aspx/1?Re+Which+oracle+Data+provider+should+I+use+for+C+VS+2005+ASP+2+0+Re: Which oracle Data provider should I use for C#/VS 2005 ASP 2.0? <p>I'm having a diffucult time trying to make a database connection from my application. I can connect fine using other database tools, but get errors when try to open a connection within my ASP C# application. The following is one example of the code I'm trying to run.</p> <p>&lt;--Web Config<br> &lt;connectionStrings&gt;<br> &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; &lt;add name=&quot;Oracle_Test&quot; connectionString=&quot;Provider=OraOLEDB.Oracle.1;Persist Security Info=False;User ID=Matt;Password=Long;Data Source=TestDV;OLE DB Services=-4&quot;/&gt;<br> &lt;- Web Config</p> <p>using System.Data.OleDb;<br> string cnstring = ConfigurationManager.ConnectionStrings[&quot;Oracle_Test&quot;].ToString();<br> System.Data.OleDb.OleDbConnection m_OracleDBConn = new OleDbConnection(cnstring);<br> m_OracleDBConn.Open();</p> <p>// Code</p> <p>// Close Database<br> m_OracleDBConn.Close();<br> m_OracleDBConn.Dispose();</p> <p></p> <p>Error Message I'm getting now: <i>Unspecified error: E_FAIL(0x80004005)</i> </p> <p></p> <p>Thanks.</p> 2011-12-05T21:12:14-05:004716818http://forums.asp.net/p/1745441/4716818.aspx/1?Re+Which+oracle+Data+provider+should+I+use+for+C+VS+2005+ASP+2+0+Re: Which oracle Data provider should I use for C#/VS 2005 ASP 2.0? <p>Fix your cnstring line:</p> <p>string cnstring = ConfigurationManager.ConnectionStrings[&quot;Oracle_Test&quot;].ConnectionString;</p> 2011-12-06T01:19:53-05:004717000http://forums.asp.net/p/1745441/4717000.aspx/1?Re+Which+oracle+Data+provider+should+I+use+for+C+VS+2005+ASP+2+0+Re: Which oracle Data provider should I use for C#/VS 2005 ASP 2.0? <p>I fixed the cnstring line, and I still get connection errors.</p> 2011-12-06T04:14:46-05:004718774http://forums.asp.net/p/1745441/4718774.aspx/1?Re+Which+oracle+Data+provider+should+I+use+for+C+VS+2005+ASP+2+0+Re: Which oracle Data provider should I use for C#/VS 2005 ASP 2.0? <p>Where is the error message occurring?</p> 2011-12-07T00:50:41-05:004719105http://forums.asp.net/p/1745441/4719105.aspx/1?Re+Which+oracle+Data+provider+should+I+use+for+C+VS+2005+ASP+2+0+Re: Which oracle Data provider should I use for C#/VS 2005 ASP 2.0? <p>I get the following error message.</p> <p></p> <p>[OleDbException (0x80004005): MU???| ????T?]<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; System.Data.OleDb.OleDbConnectionInternal..ctor(OleDbConnectionString constr, OleDbConnection connection) &#43;968297<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; System.Data.OleDb.OleDbConnectionFactory.CreateConnection(DbConnectionOptions options, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningObject) &#43;86<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; System.Data.ProviderBase.DbConnectionFactory.CreateNonPooledConnection(DbConnection owningConnection, DbConnectionPoolGroup poolGroup) &#43;29<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection) &#43;4861516<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory) &#43;117<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; System.Data.OleDb.OleDbConnection.Open() &#43;40<br> <br> <br> </p> 2011-12-07T05:32:56-05:004722854http://forums.asp.net/p/1745441/4722854.aspx/1?Re+Which+oracle+Data+provider+should+I+use+for+C+VS+2005+ASP+2+0+Re: Which oracle Data provider should I use for C#/VS 2005 ASP 2.0? <p>Have you tried using the ODP.NET classes instead of using the System.Data.OleDb classes?</p> 2011-12-09T02:21:36-05:004722905http://forums.asp.net/p/1745441/4722905.aspx/1?Re+Which+oracle+Data+provider+should+I+use+for+C+VS+2005+ASP+2+0+Re: Which oracle Data provider should I use for C#/VS 2005 ASP 2.0? <p>No, where can I get an example?</p> 2011-12-09T03:10:57-05:004723107http://forums.asp.net/p/1745441/4723107.aspx/1?Re+Which+oracle+Data+provider+should+I+use+for+C+VS+2005+ASP+2+0+Re: Which oracle Data provider should I use for C#/VS 2005 ASP 2.0? <p>Start here:</p> <p><a href="http://www.oracle.com/technetwork/topics/dotnet/index-085163.html">http://www.oracle.com/technetwork/topics/dotnet/index-085163.html</a></p> 2011-12-09T05:42:01-05:004725624http://forums.asp.net/p/1745441/4725624.aspx/1?Re+Which+oracle+Data+provider+should+I+use+for+C+VS+2005+ASP+2+0+Re: Which oracle Data provider should I use for C#/VS 2005 ASP 2.0? <p>have you seen this thread below...it&nbsp; will solve your current problem</p> <p></p> <p>http://forums.asp.net/t/1723010.aspx/1?establishing&#43;an&#43;oracle&#43;connection&#43;in&#43;asp&#43;net</p> 2011-12-11T04:43:51-05:00