SQL Search Addin failing to load
HeavenCore
Posts: 15
Hi all, i have been using SQL Search fine for years, however, i now have the following error when trying to load MSSMS:
Any ideas?
I have tried a re-install, that did not seem to fix the problem.
Microsoft SQL Server Management Studio
The Add-in 'SQL Search 1.0' failed to load or caused an exception.
Would you like to remove this Add-in?
If you choose yes, you will need to reinstall the Add-in to use it again.
Error Message: The system cannot find the file specified.
Error number: 80070002
Yes No
Any ideas?
I have tried a re-install, that did not seem to fix the problem.
Comments
This can tell you about the missing file, if it's a .NET mamanged assembly (like SQL Search's DLL).
There are several assemblies the framework reports it cannot find:
RedGate.Shared.Utils
RedGate.SQLSearch.Loader
RedGate.SSMSIP
RedGate.SSMSIP.CommonUI
RedGate.SSMSIP.Engine
RedGate.SSMSIP.Loader
Also this is a half-solution -- the file may not be a .NET assembly. It may be a COM dll or something.
SSMS is looking for these assemblies its program files folder (C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE)
where as all the assemblies seem to be in C:\Windows\Downloaded Installations\{25E61246-CE80-C48D-E730-2906DF476E0B}\Red Gate\SSMSIP\Source
I don't think that copying the missing assemblies into the SSMS folder is the correct solution here.
It should be looking in the program files (or programdata Vista+) folder. SSMS does try to look for them in it's own trusted location, which you point out in the previous post. Maybe you should log binding success as well as failure so you can make sure the DLL is being loaded successfully and where from.
Mine loads from C:\ProgramData\Red Gate\SQL Search\Active\RedGate.SQLSearch.Addin.dll
C:\ProgramData\Red Gate\SSMSIP\Active\ when I put them in there it all started working.
thanks for the help there.