DOA can not connect oracle when I restart Windows

zhc

Member
My program use the DOA3.4,compiled by delphi3.0,I put my program in Startup Group,it can start whenever windows run.But I encounter a problem. When my compter crash and I restartthe Windows,my program pop up a exception box,tell me can notconnect oracle.I close the messagebox,click icon to restart the program , it run normal. I do not know Why?
MY OS is Windows95 OS2
 
The problem is not DOA but Oracle. When your program is launched from the start group, Oracle hasn't completed its load procedure, therefore is not available.

If you can introduce a 2 minute wait or something similar before launching your program or connecting to Oracle, you won't see this problem anymore.

Originally posted by zhc:
My program use the DOA3.4,compiled by delphi3.0,I put my program in Startup Group,it can start whenever windows run.But I encounter a problem. When my compter crash and I restartthe Windows,my program pop up a exception box,tell me can notconnect oracle.I close the messagebox,click icon to restart the program , it run normal. I do not know Why?
MY OS is Windows95 OS2
 
Btw., this also happens on Windows NT and 2000 if your login to quickly after reboot. At that time the Oracle services hasn't been fully loaded.
 
Oracle install at a Server(OS is AIX),my program install at a client computer( OS is Windows 95).When windows95 restart,the oracle not restart.Client connect Server by ethernet network.
 
Back
Top