NetTalk Central

Author Topic: Preventing Fatal Error on thread from shutting down the entire app  (Read 4980 times)

debraballenger

  • Newbie
  • *
  • Posts: 49
    • View Profile
    • Email
Preventing Fatal Error on thread from shutting down the entire app
« on: September 15, 2013, 02:40:08 PM »
How can I prevent a fatal error on one thread from shutting down the entire application?  I am running with multiple backends and depending on the login it connects to the corresponding database.  If a file is missing or there is an invalid record declaration or something along those lines I do not want the application to stop, but just that thread so my other users can keep working.
Can this be done?
Thanks
Debra

kevin plummer

  • Hero Member
  • *****
  • Posts: 1195
    • View Profile
    • Production Accounting and Software Payroll
Re: Preventing Fatal Error on thread from shutting down the entire app
« Reply #1 on: September 15, 2013, 06:11:02 PM »
Hi Debra, I'm not sure what you want can be done but what I did was make a small app that runs through all my DB's and converts them when I make dictionary changes.

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11251
    • View Profile
Re: Preventing Fatal Error on thread from shutting down the entire app
« Reply #2 on: September 16, 2013, 05:16:39 AM »
Hi Debra,

not the only solution, but we use File Manager 3 (http://www.capesoft.com/accessories/FM3sp.htm).
That deals with all that sort of thing on the fly, and the server just keeps going.

cheers
Bruce