I have been struggling with emClient over not owning or attending an entry, but the error message won’t help me FIND the entry.
Meanwhile, I can’t get into emClient today, it reports a corrupt database and will not restore:
System.IO.IOException: Access to the path ‘C:\Users\Ali\AppData\Roaming\eM Client’ is denied.
at System.IO.Directory.InternalMove(String sourceDirName, String destDirName, Boolean checkHost)
at DbBackup.FormBackup.Restore(String backupFile, CancellationToken cancellationToken)
at DbBackup.FormBackup.Restore(CancellationToken cancellationToken)
at DbBackup.FormBackup.<mainform_load>b__27_0(Object a, DoWorkEventArgs b) at System.ComponentModel.BackgroundWorker.OnDoWork(DoWorkEventArgs e) at System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument) </mainform_load>
You can check in task manager that there are not any background eM Client tasks running. Also it is possible that something like your anti-virus application has blocked the folder.
Can you open the database directory using Windows Explorer?
my notebook ran out of juice and shut down, when it came up emclient reported a corrupt database:
System.UnauthorizedAccessException: Access to the path ‘uids.dat-bak-shm’ is denied.
at System.IO.Directory.DeleteHelper(String fullPath, String userPath, Boolean recursive, Boolean throwOnTopLevelDirectoryNotFound, WIN32_FIND_DATA& data)
at System.IO.Directory.Delete(String fullPath, String userPath, Boolean recursive, Boolean checkHost)
at DbBackup.FormBackup.Restore(String backupFile, CancellationToken cancellationToken)
at DbBackup.FormBackup.Restore(CancellationToken cancellationToken)
at DbBackup.FormBackup.<mainform_load>b__27_0(Object a, DoWorkEventArgs b) at System.ComponentModel.BackgroundWorker.OnDoWork(DoWorkEventArgs e) at System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)