please help me
"db process is dead or not enable" this error is accure after some time when my mdi application is running in powerbuilder
please help me
it is most important for me
thanks
please help me
"db process is dead or not enable" this error is accure after some time when my mdi application is running in powerbuilder
please help me
it is most important for me
thanks
Hi Jay,
We had similar issues over the years with MDI applications being run from Network Fileshares and accessing DBs.
Make sure that the client PC does not go into a sleep mode when idle. This used to shutoff the network activity and killed the DB connection for the applications. It tended to happen when users left their PC idle during lunch hour.
When users "woke-up" their PCs again the DB connection was dead and the applications would throw errors until they closed and reopened to establish a new connection.
The simplest solution was to disable the auto sleep feature in the PCs powersaving settings, which clients preferred, but as Chris mentions you could use a Hearbeat function to ping the DB server or to mimic some Client PC activity during idle time. Just make sure the Heartbeat triggers at shorter intervals than the Power Saving settings.
Michael
HI
Thanks for reply
but i don't know that this error taken how much time
means this error is accure after 15-25 min when i not using application or some time it happen after some different time
but exact time is needed in timer event
Hi Jay;
FYI: I have a "Heart Beat" feature in the STD Framework that you could adopt. Its along the lines that Sivaprakash mentioned but goes much further in its implementation.
If you are interested, please download the example OrderEntry application and then do a keyword search on word "Heartbeat" to get a roadmap on where to look at the code-line for this feature. Its a similar approach that the EAServer App Server used to use and totally configurable.
HTH
Regards ... Chris
Hello,
If this happens, after a certain amount of idle time, write a code to keep it active. Say in the mdi window, in the timer event, you could write a sql to retrieve some data.
Hope it helps.
Happiness Always
BKR Sivaprakash
thanks for your reply
i want to know that it is guaranted that if system auto sleep is turn off permanently then no is error accure
Not sure about a Guarantee??
I have just offered advice on what has worked for our environment in the past. It may or may not help you, but the only way you will know is to try it yourself.
successfully done
thanks alot