Error 1001. An exception occurred in the OnAfterInstall event handler during upgrade

Please note that the following only applies to versions of the PDF Converter older than 8.0. The most recent release comes with a new installer.

When upgrading the PDF Converter for SharePoint from an old version you may receive an error similar to the following:

Error 1001. An exception occurred in the OnAfterInstall event handler

This error may happen if the upgrade sequence in the Administration Guide is not followed. It is essential that the  old front end WSP is uninstalled before the new service is installed. Otherwise old DLLs may be picked up from the Global Assembly Cache.

If you are receiving this error even though the WSP has been uninstalled then another process may keep the DLLs locked. Solve this as follows:

  1. Uninstall the front end WSP using uninstall.cmd.
  2. Navigate your file explorer to %windir%\assembly.
  3. Sort by name and scroll to Muhimbi.*
  4. Select any Muhimbi entries with version 1.0.1.1 (Do not select any other Muhimbi related entries)
  5. Press the delete key.
  6. Run setup.exe again.

Have a Question?
We’re Always Happy to Help.

© Muhimbi Ltd. 2008 - 2024
This website uses cookies to ensure you get the best experience. Learn more