[quote=“cyberzork, post:6, topic:86928”]
Yes If you shutdown Windows without closing it first, then you will get a checking for errors on opening eM Client. That’s unavoidable as the eM Client program & database needs to be closed before shutting down Windows.
[/quote]
Is this now the formal way to shut down eMC and windows? You have to manually shut down eMC before shutting down Windows? Yikes! This is the only program I have that needs to be manually shut down prior to closing windows. Incidentally, I can confirm that eMC also often corrupts its database after putting windows into hybernation or sleep mode. It does not matter if you shut down windows or simply put it into hybernation. eMC will corrupt its database.
All my other applications (this is what I have open as I write this) , Office 360, Fusion 360, Foxit, Chrome, Zoom, Firefox, Tawk, WhatsApp and a Remote Desktop (for a remote copy of MS Access), will all gracefully shut down and ask to save any unsaved work before windows shuts down. Why does not eMC not do this?
“…you would be much quicker to restore a good non corrupted database via “Menu / File / Restore”. So you can either do a manual backup of eM Client at any interval through the day via “Menu / Backup”. You can see when the backup is completed via “Menu / Operations”, or you can do periodic automatic backups via “Menu / Settings / General / Backup”…”
The problem here is that making a backup takes way too long. I decided to run one right now and I am about 30% done after 1 hr… If I do a manual backup at intervals thoughout the day I will be doing nothing but backing up. As eMC does not support incrimental or journalling this is way too cumbersome. Not only that, my laptop SSD is not large enough to support this. I was told by Gary that inorder to make a backup I need to have at least the same amount of empty SSD space as the backup. My current backup is 210Gb and my eMC folder is 226Gb. My SSD is 1Tb and it has 114Gb free. Everytime I make a backup I need to move some files to an external HDD and then move them back after the backup is complete. Backing up eMC is a full time job. It would certainly be very useful to be able to make a “maintenance” repair on the database at will. A function that eMC does not have. I could then set up a routine to do this when I finish work a couple of times per week and make the backup after work.
It is vey curious that the forced repair does not reoccur if I have force stopped (cancelled) the repair in the previous session.
“… So if your eM Client program version is up to date and your Windows OS version & patches are all up to date, then suggest you try “disabling all non os background tasks temporarily” for a test and reboot and see if that stops the random crashing…”
The problem with this is that these random crashes are very random. I can go for a week with no crash, or it happens twice in a day. disabling background tasks and trying to only run eMC will neccesitate me taking 2 weeks holiday and sitting infront of eMC for 9 hours per day. Sorry, I cannot do this !!
“… Now if disabling background tasks makes no difference to the eM Client crashing randomly problem, then you might have a problem with the eM Client installation somewhere, in which case try reinstalling the program. Close eM Client and uninstall via the usual Windows uninstall and “don’t delete the database” when asked on the uninstall wizard…”
This is great idea. I will try this. Thank you.
What is interesting to me is that the symptons I am having is so similar to the OP. The advice that you have given him is the same as mine… You MUST shut down eMC manually and not let windows do it for you. This is a huge problem for the OP and myself. Can nothing be done to enable this basic functionality that almost all windows apps seem to manage? As the OP wrote: “Windows does provide APIs for notifying applications about shutdowns and to allow them to cleanly exit in case they need more time. Does eM Client not make use of this, so that Windows kills the process?”
Thanks for your help. I will try to reinstall eMC while saving the database first and see what happens.