由于FileNotFoundException,SnapCenter服务器卸载失败
适用场景
- SnapCenter 服务器 4.6.
- 在卸载SnapCenter服务器之前、已手动卸载适用于MySQL Professional的Devart DOotConnect
问题描述
- 卸载SnapCenter服务器时、安装向导显示错误:
Installation Wizard Interrupted
The wizard was interrupted before NetApp SNapCenter Server setup could complete.
SMS_Uninstall_<DATE>T<TIME>.log
显示异常:
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)