How to handle such an error, even though we have written general exception in catch?
You are most likely using the same DbContext across threads, and that is not supported, as DbContext and SqlCeConnection are not thread safe