Start a conversation

Upgrade from GFI MailEssentials 2014 to 2015 SR1 Fails with "ERROR: Failed to update database..."

Overview

Upgrading from GFI MailEssentials 2014 to 2015 SR1 fails. The setup logs show the following:

1: MigrateControlListEntries 2: Migrating blacklist ... 1: MailEssentials.ControlLists.DAL 2: >> Init() 1: MailEssentials.ControlLists.DAL 2: DataAccessLayer - DBPath: C:\Program Files\GFI\MailEssentials\Antispam\Data\ControlLists.sdf 1: MailEssentials.ControlLists.DAL 2: DataAccessLayer - Connection String: Data Source=C:\Program Files\GFI\MailEssentials\Antispam\Data\ControlLists.sdf; Max Database Size=2048; Default Lock Timeout=20000; Max Buffer Size = 1024; 1: MailEssentials.ControlLists.DAL 2: << Init(True) 1: MailEssentials.ControlLists.GBL 2: >> Add(Number of Emails [1000]) 1: MailEssentials.ControlLists.GBL 2: << Add(True) 1: MailEssentials.ControlLists.GBL 2: >> Add(Number of Emails [1000]) 1: MailEssentials.ControlLists.GBL 2: << Add(True) 1: MailEssentials.ControlLists.GBL 2: >> Add(Number of Emails [1000]) 1: MailEssentials.ControlLists.GBL 2: ERROR: Failed to update database: System.ObjectDisposedException: Cannot access a disposed object.

Environment

Upgrading GFI MailEssentials 2014 and 2014 R2 to GFI MailEssentials 2016 SR1.

Root Cause

The migration of the databases fails due to one of them containing over 1000 entries.

Workaround

Workaround 1 (preferred)

Upgrade to MailEssentials 2015 first.

Then upgrade to MailEssentials 2015 SR1.

Workaround 2

Prior to upgrading, in the current 2014/R2 installation, navigate to ...GFI\MailEssentials\Antispam\Data, rename the file "pwlbl.sdf" to "ControlLists.sdf"

Proceed to upgrade with the steps below:

  1. Make sure you are logged in as the Administrator.
  2. Go to Start > Run > Type %temp% and press Enter.  Clear as many files as you can from here
  3. Disable any Antivirus/Backup software running at the moment on the machine.
  4. Right-click the installation file and click Properties. Click Unblock if available.
  5. Right-click the installation file and select Run as Administrator.
  6. Once the installation completes successfully, migrate the lists with the migration tool as per the following article How to import control lists from a backed up 2014R2 installation to 2015

Required Actions

Upgrade 20 2016

Choose files or drag and drop files
Was this article helpful?
Yes
No
  1. Priyanka Bhotika

  2. Posted
  3. Updated

Comments