Cannot use SQL Search 2 at all
perrydrew
Posts: 2
I get this error every time I try to run SQL Search 2 on my SSMS of 2008R2.
I rebooted and uninstalled and reinstalled and no change. The previous version of SQL Search ran with no problems. I am running Windows 7.
Perry
Could not load file or assembly 'file:///C:\Program Files (x86)\Red Gate\Deployment Manager SSMS add-in 1\System.Data.SQLite.dll' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded.
I rebooted and uninstalled and reinstalled and no change. The previous version of SQL Search ran with no problems. I am running Windows 7.
Perry
Could not load file or assembly 'file:///C:\Program Files (x86)\Red Gate\Deployment Manager SSMS add-in 1\System.Data.SQLite.dll' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded.
Comments
The DM addin and Search uses the common SSMS addin framework. You can disable the DM addin by removing it's registry key from this location:
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Red Gate\SIPFramework\Plugins
I'll raise this with the DM team too, maybe they recognise this issue.
David
Can you be more specific about what to remove from the registry location you mentionned?
I was thinking about the root cause of this problem. Presumably this happens when you click SQL Search's toolbar button? If possible please could you email me a log file from an SSMS session where the problem occurs. The log files are here:
C:\Users\<your.username>\AppData\Local\Red Gate\Logs\Ssms
My email address is david.pond@red-gate.com.
David
What is the status of this?
Can you provide a link to reinstall a previous version?
FYI my log info is:
15:29:37.187|Info |RedGate.SIPFramework|1 |Red Gate SSMS Ecosystem host connecting to SSMS.
15:29:37.187|Info |RedGate.SIPFramework|1 |RedGate.SIPFramework version: 1.0.1.2025
If you follow David's workaround (remove from registry) the SQL SEARCH 2 will work. In regedit:
1 - I exported the portion of the registry under "HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Red Gate\SIPFramework\Plugins\"
2 - I deleted "HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Red Gate\SIPFramework\Plugins\DeploymentManagerSqlServerDbPackageI deleted"
Now, if you restart SSMS and click on the SEARCH button, It should work.
You can even reimport the registry setting and it still will continue working (or at least it did for me as I was trying to reproduce the problem).
I hope this helps.
It worked!
Thanks
Our developers are still trying to reproduce this issue, but we haven't had any luck so far, I'm afraid.
To help us, it would be really helpful if anyone who has this issue could let us know the following, please:
- Which versions of SSMS you have installed
- Which version of SSMS you are using
- The OS version
- Any other plug-ins you have installed in SSMS
Thanks,
Dom.
Project Manager,
Redgate.
Microsoft SQL Server Management Studio 10.50.4000.0
Microsoft Analysis Services Client Tools 10.50.4000.0
Microsoft Data Access Components (MDAC) 6.1.7601.17514
Microsoft MSXML 3.0 4.0 6.0
Microsoft Internet Explorer 9.11.9600.17041
Microsoft .NET Framework 2.0.50727.5477
Operating System 6.1.7601
Windows 7 Professional
No other plugins installed.
If you are affected, you can download the new version from http://www.red-gate.com/products/sql-development/sql-search/v2
Thanks,
Dom.
Project Manager,
Redgate.
I did that once before... It seemed to work for me.