oracle 连接问题
我做了一段程序连接ORACLE 数据库,现在都仔细检查了打开\关闭,在只自己操作数据库是运行正常,但在别人大量往数据库中导数据时就连接不行了,报错
ORA-01033: ORACLE initialization or shutdown in progress
说明: 执行当前 Web 请求期间,出现未处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。
异常详细信息: System.Data.OracleClient.OracleException: ORA-01033: ORACLE initialization or shutdown in progress
源错误:
行 54: // try
行 55: // {
行 56: con.Open();
行 57:
行 58:
源文件: d:\anshanoral\treeview\mytree.aspx.cs 行: 56
堆栈跟踪:
[OracleException (0x80131938): ORA-01033: ORACLE initialization or shutdown in progress
]
System.Data.OracleClient.OracleException.Check(OciErrorHandle errorHandle, Int32 rc) +88
System.Data.OracleClient.OracleInternalConnection.OpenOnLocalTransaction(String userName, String password, String serverName, Boolean integratedSecurity, Boolean unicode, Boolean omitOracleConnectionName) +675
System.Data.OracleClient.OracleInternalConnection..ctor(OracleConnectionString connectionOptions) +120
System.Data.OracleClient.OracleConnectionFactory.CreateConnection(DbConnectionOptions options, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningObject) +37
System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnection owningConnection, DbConnectionPool pool, DbConnectionOptions options) +28
System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject) +429
System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject) +70
System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject) +512
System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection) +85
System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory) +89
System.Data.OracleClient.OracleConnection.Open() +18
treeview.Find(String headid, TreeNode node) in d:\anshanoral\treeview\mytree.aspx.cs:56
treeview.initTree() in d:\anshanoral\treeview\mytree.aspx.cs:44
treeview.Page_Load(Object sender, EventArgs e) in d:\anshanoral\treeview\mytree.aspx.cs:19
System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +13
System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +43
System.Web.UI.Control.OnLoad(EventArgs e) +80
System.Web.UI.Control.LoadRecursive() +49
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3750
看网上说是因为数据库太忙,要等几分钟再试,请问还有什么其他的有效提高性能的方法吗