SnapCenter Server Uninstallation fails due to FileNotFoundException
Applies to
- SnapCenter Server 4.6
- Manually uninstalled Devart dotConnect for MySQL Professional prior to SnapCenter Server uninstallation
Issue
- When uninstalling SnapCenter Server, the installation wizard shows error:
Installation Wizard Interrupted
The wizard was interrupted before NetApp SNapCenter Server setup could complete.
SMS_Uninstall_<DATE>T<TIME>.log
shows exception:
Action start 0:27:39: ReadDBInfoMYSQL.
SFXCA: Extracting custom action to temporary directory: C:\Windows\Installer\MSIB05E.tmp-\
SFXCA: Binding to CLR version v4.0.30319
Calling custom action WiXCSCA!SysWin32.WiXCSCA.CustomActions.ReadDbInfoMysql
Exception thrown by custom action:
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.IO.FileNotFoundException: Could not load file or assembly 'Devart.Data.MySql, Version=8.5.658.0, Culture=neutral, PublicKeyToken=09af7300eec23701' or one of its dependencies. The system cannot find the file specified.
at SysWin32.WiXCSCA.CustomActions.ReadDbInfoMysql(Session session)
--- End of inner exception stack trace ---
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object parameters, Object arguments)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object parameters, CultureInfo culture)
at Microsoft.Deployment.WindowsInstaller.CustomActionProxy.InvokeCustomAction(Int32 sessionHandle, String entryPoint, IntPtr remotingDelegatePtr)