OpenRPA = LiteDB Ensure: transaction must be active to rollback (current state: Disposed)
I can’t Import, run my robots or open a new Workflow because of the Error mentioned above, I tried to open the LocalDB, but it didn’t work out, so my question is how do I open DB or is there any proper Solution for this one?
A repair didn’t make any difference, and reinstall neither.
Hey Lukas
Sorry to hear that. Yes, it is a problem that pops up once in a while, mostly for people using folder redirection or are using other “special folders” (like Dropbox integration).
The most obvious solution is to make sure all your OpenRPA clients are connected to an OpenCore installation. This way, all data is always kept up to date in the OpenCore database, and you can simply delete the local LiteDB file after closing OpenRPA. OpenRPA will download all needed data when started.
If this happens often and becomes annoying to do, there are two other solutions to avoid that (and they can be combined if needed). If you are using folder redirection or special folders, you can move the OpenRPA folder inside Documents to AppData to ensure all the files are placed locally and not on a file share or application-managed folder. But if the problem is “deeper,” you can also completely stop using LiteDB by enabling StorageFileSystem and disabling StorageLiteDB in the settings file.