How to resolve SQL Server Management Studio error: ‘Could not load file or assembly ‘SqlManagerUI …’?
Sometimes when a user tries to restore a database in SQL Server Management Studio on a 2005 database engine, they might get a error message:
Cannot show requested dialog.
Could not load file or assembly ‘SqlManagerUI, Version=18.104.22.168, Culture=neutral, PublicKeyToken=89845dcd8080cc91’ or one of its dependencies. Strong name validation failed. (Exception from HRESULT: 0x8013141A) (mscorlib)
Strong name validation failed. (Exception from HRESULT: 0x8013141A)
This error relates to the problem SQL Server Management Studio files that are shared along with other .DLL files and also several SQL DLLs has been corrupted sothat the binary data in the file no longer matches the file that was signed by Microsoft. The common causes could be a (a) Viruses or other malware, (b) File system corruption and (c) Failing hard drive.
The first step is to run an Anti-virus check and also to the check health state of the hardware. If nothing found with these checks then the final solution is to uninstall then reinstall SQL Server 2005 Client tools and choose Typical installation type only, do not choose a ‘Custom’ installation.