Error 1001. An exception occurred in the OnAfterInstall event handler during upgrade
Please note that the following only applies to versions of the Document Converter older than 8.0. The most recent release comes with a new installer.
When upgrading the Document 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:
-
Uninstall the front end WSP using uninstall.cmd.
-
Navigate your file explorer to %windir%\assembly.
-
Sort by name and scroll to Muhimbi.*
-
Select any Muhimbi entries with version 1.0.1.1 (Do not select any other Muhimbi related entries)
-
Press the delete key.
-
Run setup.exe again.