首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > .NET > .NET Framework >

Internal error not handled (-2).此异常重启IIS后消失,详细异常内容如上,请高手协助解决

2012-10-16 
Internal error not handled (-2).,此错误重启IIS后消失,详细错误内容如下,请高手协助解决Event code: 300

Internal error not handled (-2).,此错误重启IIS后消失,详细错误内容如下,请高手协助解决
Event code: 3005 
Event message: An unhandled exception has occurred. 
Event time: 2012-10-8 11:49:50 
Event time (UTC): 2012-10-8 3:49:50 
Event ID: 9a89e3b02de54faea099a8cddc78d65a 
Event sequence: 5415 
Event occurrence: 23 
Event detail code: 0 
 
 Application information: 
  Application domain: /LM/W3SVC/2053580263/Root-1-129941337928555548 
  Trust level: Full 
  Application Virtual Path: / 
  Application Path: D:\HIGTBS\ 
  Machine name: DCNCAPP 
 
 Process information: 
  Process ID: 205492 
  Process name: w3wp.exe 
  Account name: NT AUTHORITY\SYSTEM 
 
 Exception information: 
  Exception type: Exception 
  Exception message: 数据库操作异常!
  at Module_ExpensesExecuteSystem_FeeApply_Add.getNextCode()
  at Module_ExpensesExecuteSystem_FeeApply_Add.Page_Load(Object sender, EventArgs e)
  at System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e)
  at System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e)
  at System.Web.UI.Control.OnLoad(EventArgs e)
  at YHGX.Common.BasePage.OnLoad(EventArgs e) in D:\程序发布\HIG-发布程序\HIG发布--正式服务器发布程序\YHGX.Common\BasePage.cs:line 95
  at System.Web.UI.Control.LoadRecursive()
  at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
 
数据库操作异常
  at CBCC.DBUtility.OracleHelper.Query(String SQLString, OracleParameter[] cmdParms) in D:\程序发布\HIG-发布程序\HIG发布--正式服务器发布程序\DBUtility\OracleHelper.cs:line 523
  at CBCC.OracleDAL.ResourcesDataSystem.dalCodeRules.getDataByID(String codeItemCode) in D:\程序发布\HIG-发布程序\HIG发布--正式服务器发布程序\OracleDAL\ResourcesDataSystem\dalCodeRules.cs:line 43
 
Internal error not handled (-2).
  at System.Data.OracleClient.OracleConnection.CheckError(OciErrorHandle errorHandle, Int32 rc)
  at System.Data.OracleClient.OracleCommand.Execute(OciStatementHandle statementHandle, CommandBehavior behavior, Boolean needRowid, OciRowidDescriptor& rowidDescriptor, ArrayList& resultParameterOrdinals)
  at System.Data.OracleClient.OracleCommand.Execute(OciStatementHandle statementHandle, CommandBehavior behavior, ArrayList& resultParameterOrdinals)
  at System.Data.OracleClient.OracleCommand.ExecuteReader(CommandBehavior behavior)
  at System.Data.OracleClient.OracleCommand.ExecuteDbDataReader(CommandBehavior behavior)
  at System.Data.Common.DbCommand.System.Data.IDbCommand.ExecuteReader(CommandBehavior behavior)
  at System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior)
  at System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior)
  at System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, String srcTable)
  at CBCC.DBUtility.OracleHelper.Query(String SQLString, OracleParameter[] cmdParms) in D:\程序发布\HIG-发布程序\HIG发布--正式服务器发布程序\DBUtility\OracleHelper.cs:line 514


[解决办法]
可能大概是因为数据库连接时未进行异常检测,连接未进行及时关闭导致

热点排行