Link to home
Start Free TrialLog in
Avatar of jyothsna1803
jyothsna1803

asked on

ORA-12537: TNS:connection closed exception with ASP.NET

i am getting this weired error, I am using SQLDataSource. I am getting this error somertimes only.
ORA-12537: TNS:connection closed
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.

Exception Details: System.Data.OracleClient.OracleException: ORA-12537: TNS:connection closed


Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
 


Stack Trace:

 
[OracleException (0x80131938): ORA-12537: TNS:connection closed
]
   System.Data.OracleClient.OracleConnection.CheckError(OciErrorHandle errorHandle, Int32 rc) +190
   System.Data.OracleClient.OracleCommand.Execute(OciStatementHandle statementHandle, CommandBehavior behavior, Boolean needRowid, OciRowidDescriptor& rowidDescriptor, ArrayList& resultParameterOrdinals) +988
   System.Data.OracleClient.OracleCommand.Execute(OciStatementHandle statementHandle, CommandBehavior behavior, ArrayList& resultParameterOrdinals) +25
   System.Data.OracleClient.OracleCommand.ExecuteReader(CommandBehavior behavior) +138
   System.Data.OracleClient.OracleCommand.ExecuteDbDataReader(CommandBehavior behavior) +4
   System.Data.Common.DbCommand.System.Data.IDbCommand.ExecuteReader(CommandBehavior behavior) +10
   System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) +130
   System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) +287
   System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, String srcTable) +92
   System.Web.UI.WebControls.SqlDataSourceView.ExecuteSelect(DataSourceSelectArguments arguments) +1297
   System.Web.UI.DataSourceView.Select(DataSourceSelectArguments arguments, DataSourceViewSelectCallback callback) +19
   DevExpress.Web.ASPxClasses.Internal.DataHelper.PerformSelect() +149
   DevExpress.Web.ASPxGridView.GridViewDataHelper.PerformSelect() +119
   DevExpress.Web.ASPxClasses.Internal.DataContainer.PerformSelect() +112
   DevExpress.Web.ASPxClasses.ASPxDataWebControlBase.DataBindCore() +15
   DevExpress.Web.ASPxClasses.ASPxDataWebControlBase.DataBind() +104
   DevExpress.Web.ASPxGridView.ASPxGridView.DataBind() +248
   DevExpress.Web.ASPxClasses.Internal.DataHelperBase.EnsureDataBound(Boolean ensureChildControls) +89
   DevExpress.Web.ASPxClasses.Internal.DataContainer.EnsureDataBound() +120
   DevExpress.Web.ASPxClasses.ASPxDataWebControlBase.OnPreRender(EventArgs e) +22
   System.Web.UI.Control.PreRenderRecursiveInternal() +80
   System.Web.UI.Control.PreRenderRecursiveInternal() +171
   System.Web.UI.Control.PreRenderRecursiveInternal() +171
   System.Web.UI.Control.PreRenderRecursiveInternal() +171
   System.Web.UI.Control.PreRenderRecursiveInternal() +171
   System.Web.UI.Control.PreRenderRecursiveInternal() +171
   System.Web.UI.Control.PreRenderRecursiveInternal() +171
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +842
 
Why it is failing sometimes only.
Avatar of Pra4444
Pra4444
Flag of United States of America image

This could be due to a variety of reasons...Has anything changed with respect to the configuration of the oracle server??

Do check the below link and see whether any of the reasons is related to your case..
http://www.oradev.com/ORA-12537_TNS_connection_closed.jsp

Please check this also...Is it happening from the same client machine or different machines???

http://momendba.blogspot.com/2007/11/ora-12537-tns-connection-closed.html
Avatar of jyothsna1803
jyothsna1803

ASKER

it is happening with few pages only. So i am not sure exactly what is the problem.
That to it is happening sporadically. Seems it is happening with DEVX Grid, not sure.. It is happening on the server and i don't see this issue in Development.
ASKER CERTIFIED SOLUTION
Avatar of Pra4444
Pra4444
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
This is a server issue.