问题描述
我做了一段程序连接ORACLE数据库,现在都仔细检查了打开关闭,在只自己操作数据库是运行正常,但在别人大量往数据库中导数据时就连接不行了,报错ORA-01033:ORACLEinitializationorshutdowninprogress说明:执行当前Web请求期间,出现未处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。异常详细信息:System.Data.OracleClient.OracleException:ORA-01033:ORACLEinitializationorshutdowninprogress源错误:行54://try行55://{行56:con.Open();行57:行58:源文件:d:anshanoraltreeviewmytree.aspx.cs行:56堆栈跟踪:[OracleException(0x80131938):ORA-01033:ORACLEinitializationorshutdowninprogress]System.Data.OracleClient.OracleException.Check(OciErrorHandleerrorHandle,Int32rc)+88System.Data.OracleClient.OracleInternalConnection.OpenOnLocalTransaction(StringuserName,Stringpassword,StringserverName,BooleanintegratedSecurity,Booleanunicode,BooleanomitOracleConnectionName)+675System.Data.OracleClient.OracleInternalConnection..ctor(OracleConnectionStringconnectionOptions)+120System.Data.OracleClient.OracleConnectionFactory.CreateConnection(DbConnectionOptionsoptions,ObjectpoolGroupProviderInfo,DbConnectionPoolpool,DbConnectionowningObject)+37System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnectionowningConnection,DbConnectionPoolpool,DbConnectionOptionsoptions)+28System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnectionowningObject)+429System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnectionowningObject)+70System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnectionowningObject)+512System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnectionowningConnection)+85System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnectionouterConnection,DbConnectionFactoryconnectionFactory)+89System.Data.OracleClient.OracleConnection.Open()+18treeview.Find(Stringheadid,TreeNodenode)ind:anshanoraltreeviewmytree.aspx.cs:56treeview.initTree()ind:anshanoraltreeviewmytree.aspx.cs:44treeview.Page_Load(Objectsender,EventArgse)ind:anshanoraltreeviewmytree.aspx.cs:19System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtrfp,Objecto,Objectt,EventArgse)+13System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Objectsender,EventArgse)+43System.Web.UI.Control.OnLoad(EventArgse)+80System.Web.UI.Control.LoadRecursive()+49System.Web.UI.Page.ProcessRequestMain(BooleanincludeStagesBeforeAsyncPoint,BooleanincludeStagesAfterAsyncPoint)+3750看网上说是因为数据库太忙,要等几分钟再试,请问还有什么其他的有效提高性能的方法吗
解决方案
解决方案二:
帮顶,收分!~~