Home > Microsoft SQL Server > Need Help on .NET and ORACLE DB Connection

Need Help on .NET and ORACLE DB Connection



TESTED CONNECTION-WORKS FINE BUT RUNNING OF APPLICATION GIVE THE FOLLOWING ERROR: DATA FROM DB NOT DISPLAYED IN MY APPLICATION PLS HELP THNX.<br><br><br><br>Server Error in '/ORACLE_PDAFRS' Application.<br>--------------------------------------------------------------------------------<br><br>Error while trying to retrieve text for error ORA-12154 <br>Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. <br><br>Exception Details: System.Data.OleDb.OleDbException: Error while trying to retrieve text for error ORA-12154<br><br>Source Error: <br><br><br>Line 122:<br>Line 123: Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click<br>Line 124: OleDbDataAdapter1.Fill(DataSet21)<br>Line 125: DataGrid1.DataBind()<br>Line 126: End Sub<br> <br><br>Source File: c:inetpubwwwrootORACLE_PDAFRSWebForm3.aspx.vb Line: 124 <br><br>Stack Trace: <br><br><br>[OleDbException (0x80004005): Error while trying to retrieve text for error ORA-12154]<br> System.Data.OleDb.OleDbConnection.ProcessResults(I nt32 hr) +20<br> System.Data.OleDb.OleDbConnection.InitializeProvid er() +57<br> System.Data.OleDb.OleDbConnection.Open() +130<br> System.Data.Common.DbDataAdapter.QuietOpen(IDbConn ection connection, ConnectionState& originalState) +44<br> System.Data.Common.DbDataAdapter.Fill(Object data, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) +98<br> System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) +77<br> System.Data.Common.DbDataAdapter.Fill(DataSet dataSet) +38<br> ORACLE_PDAFRS.WebForm3.Button1_Click(Object sender, EventArgs e) in c:inetpubwwwrootORACLE_PDAFRSWebForm3.aspx.vb:124<br> System.Web.UI.WebControls.Button.OnClick(EventArgs e) +108<br> System.Web.UI.WebControls.Button.System.Web.UI.IPo stBackEventHandler.RaisePostBackEvent(String eventArgument) +57<br> System.Web.UI.Page.RaisePostBackEvent(IPostBackEve ntHandler sourceControl, String eventArgument) +18<br> System.Web.UI.Page.RaisePostBackEvent(NameValueCol lection postData) +33<br> System.Web.UI.Page.ProcessRequestMain() +1263<br><br> <br><br><br>--------------------------------------------------------------------------------<br>Version Information: Microsoft .NET Framework Version:1.0.3705.0; ASP.NET Version:1.0.3705.0

    
Guest


Do you have the updated .NET provider for Oracle installed?<br><br>This one : <a href="http://www.microsoft.com/downloads/details.aspx?FamilyId=4F55D429-17DC-45EA-BFB3-076D1C052524&displaylang=en" target="_blank">.NET Managed Provider for Oracle</a><p><hr size="1" width="50%" align="left" />dotNetBB Forum Developer<br><b><i>Building A Better Community, One Post At A Time</i></b><br><a href="http://www.dotnetbb.com" target="_blank">www.dotnetbb.com</a></p>

Was this answer helpful ? Yes No   
Guest
 
 
Home - About Infoqu - Contact - Privacy Statement - Link to Infoqu - Bookmark Infoqu

Copyright 2007-2008 by Infoqu. All rights reserved