Metabase Could Not Be ReadError Example:There's multiple variations on this error, but the basic error text is: An error occurred while executing connection '<ConnectionName>': The metabase could not be read due to the following error: <errorReason>. These are the known variations of the "errorReason", though this guide generally applies to all new and unknown variations as well:
Cause:There are a couple of different reasons for the base error of "The Metabase Could Not be Read":
Resolution/Workaround:Most Metabase corruption errors can be solved by deleting and rebuilding the Metabase, but some are linked to other issues with the product and have special instructions to address them. First, check below to see if the specific error has special instructions. If not, then follow the directions under General Resolution: Delete the Metabase. General Resolution: Delete the MetabaseFor most errors, the only way to fix the corruption is to delete the Metabase. To do this, you need to go to the Metabase folder (usually here: C:\ProgramData\Layer2 Cloud Connector\Metabase) and either delete or move the .metabase file with the same name as the connection with the error. On the next run, it will act like a new connection and start from the beginning, rebuilding a fresh Metabase file. Please note that: For Uni-directional Syncs: You will likely need to enable Overwrite Destination as now there is pre-existing content in the target. If the primary keys are set correctly, it should just update the items in the target. If not, then it will do a full delete/reinsert. For Bi-directional Syncs: You will likely get Conflict errors now as both sides may have different modified dates. To get around this easily, you can set the Conflict Resolution to WinnerLoser for a single run, so that the conflicts are handled automatically, then you can switch it back to your normal method. DO NOT use KeepBoth in this situation as you will get hundreds of false CONFLICT files that you will have to delete manually. Multiple Types Found Matching Type Name 'Layer2.Common.Interfaces.IFileReferenceYou need to uninstall all versions of the Cloud Connector from the host machine using the "Clean Install" steps. This error is very common with updating from a non-7.8 version to a 7.8+ version if you did not uninstall the prior version first. The clean install usually fixes it, but if not, you may need to completely remove the application from the machine (all related files, all assembly references, all registry entries) and then re-install fresh.
|