How can we help you today? How can we help you today?
csuire
SQL Search and SQL Prompt had disappeared from SSMS 2018 and 2019.1 for me recently. Multiple SQL Search and SSMS Integration uninstall and reinstall attempts did not fix it. After reinstalling SSMS 2019.1 it poppped up an error. I must have clicked "do not show again" that mentioned C:\Users\MYUSERNAME\AppData\Roaming\Microsoft\AppEnv\15.0\ActivityLog.xml Inside of that at the bottom I found a SQL Search error: CreateInstance failed for package [SqlSearchSsmsPackage]Source: &apos;mscorlib&apos; Description: String cannot have zero length.&#x000D;&#x000A; Searching for that let me to another post which resolved the issue. https://forum.red-gate.com/discussion/87025/sqlsearchssmspackage-not-loading-correctly I had to delete SQL Search files that were not being removed during uninstall and reboots and reinstalls. So after uninstalling SQL Search, and then delete some left over files in C:\Program Files (x86)\Red Gate\SQL Search\, and reinstalling, That fixed the issue for me. Here's the entire error message I found in case it helps redgate resolve this issue for future users: <entry>     <record>273</record>     <time>2023/11/03 15:53:24.649</time>     <type>Error</type>     <source>VisualStudio</source>     <description>CreateInstance failed for package [SqlSearchSsmsPackage]Source: &apos;mscorlib&apos; Description: String cannot have zero length.&#x000D;&#x000A;System.ArgumentException: String cannot have zero length.&#x000D;&#x000A;   at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark&amp; stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)&#x000D;&#x000A;   at System.Reflection.RuntimeAssembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark&amp; stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)&#x000D;&#x000A;   at System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, RuntimeAssembly reqAssembly, StackCrawlMark&amp; stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)&#x000D;&#x000A;   at System.Reflection.RuntimeAssembly.InternalLoadFrom(String assemblyFile, Evidence securityEvidence, Byte[] hashValue, AssemblyHashAlgorithm hashAlgorithm, Boolean forIntrospection, Boolean suppressSecurityChecks, StackCrawlMark&amp; stackMark)&#x000D;&#x000A;   at System.Reflection.Assembly.LoadFrom(String assemblyFile, Evidence securityEvidence)&#x000D;&#x000A;   at System.Activator.CreateInstanceFromInternal(String assemblyFile, String typeName, Boolean ignoreCase, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, Evidence securityInfo)&#x000D;&#x000A;   at System.AppDomain.CreateInstanceFrom(String assemblyFile, String typeName)</description>     <guid>{26218D92-039D-466C-BF66-EAE1098379BE}</guid>     <hr>80004005 - E_FAIL</hr>     <errorinfo></errorinfo>   </entry> / comments
SQL Search and SQL Prompt had disappeared from SSMS 2018 and 2019.1 for me recently.Multiple SQL Search and SSMS Integration uninstall and reinstall attempts did not fix it.After reinstalling SSMS ...
0 votes