eM Client crashes after wrong CalDav path entered

I have entered a wrong path in the CalDAV setup for an account in eM client which went unnoticed until I entered a new task.
Now I cannot open eM client anymore for that Windows 8.1 user:
An error has occurred in the application that prevents it from continuing…
The eM Client database check is run and found ok every time I start.
Is there a way I can delete this caldav account from the eM client database without using the GUI? I really don’t want to reinstall it and set it up from scratch again.
What is the path in Win8.1 to the database file?

Here is the error message:
eM Client (6.0.19861.0)
Windows: Microsoft Windows NT 6.2.9200.0, Framework: 2.0.50727.8000
The following error has occurred:
System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: startIndex
at System.String.IndexOf(Char value, Int32 startIndex, Int32 count)
at System.String.IndexOf(Char value, Int32 startIndex)
at MailClient.CalDav.Synchronizer.GetFullPath(CalDavAccount account, Folder folder)
at MailClient.CalDav.Synchronizer.UploadCommand`1.Execute(WorkerStatus status)
at MailClient.Commands.Command.Process(WorkerStatus status)
at MailClient.Commands.SynchronizationQueue.ThreadWorker(Object threadData)
at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart(Object obj)

you might be able to solve the issue by opening eM client in offline mode.
To do that hold the Ctrl button while clicking on the eM Client icon and hold it until eM client loads.

Let me know if it worked, in offline mode you should be able to change the correct path.

Thank you,

Hi Paul,
thanks for the tip with the Ctrl button. This worked and I was able to delete the Caldav account, Save and exit. I re-started the eM client, switched it back to online mode and configured the Caldav account again with the correct URL.

I’m glad I could help.

Thank you,