How can we help you today? How can we help you today?
csuire

Activity overview

Latest activity by 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
I upgraded to version 1.4.9.1233 to test if this defect was fixed. The issue is not fixed. Version 1.4.8 mentioned fixing something similar which is why I re-tested. This issue is not a big deal for me as I know to workaround it.   But if you don't realize some results will be missing, using the partial results displayed could cause problems! I'm curious if anyone else has run into it or can reproduce? Simple steps to reproduce: 1. Load 4 databases. Set options to use parallel execution against 2 databases at a time. 2. Run the query below and immediately switch to the "Results" tab to watch the results come in. 3. When footer showed "Script executed successfully on 4 databases", the results only had 3 rows. 4. Switching between Messages and Results tabs redraws the results and then all 4 database results are visible. Example Query: WAITFOR DELAY '00:00:05' SELECT 'test' Note: In a real example I might run a query against 500 to 1000 databases and don't need the WAITFOR delay.  The delay is only there in this simple example to give me time to switch to the results tab while the scripts are still running. Release Notes from February 2019 that looked sort of similar: At least it mentioned the results pane not updating in some cases... Version 1.4.8 SE-836: When a script returns quickly and there are no previous results, the results pane no longer fails to update until the treeview node is reselected Previous support email reply from RedGate from March 14, 2018: We've recently reviewed all the on-hold bugs, and we wanted to be 100% upfront and honest by letting you know that the bug is still on our radar but is not significantly widespread enough to be considered urgent. The bug still has a JIRA reference so the development team can refer to it, if plans for the product change in the future it may be looked at again. Unfortunately it isn't feasible, or common practice to fix all bugs encountered in a product. Although this particular bug isn't going to be addressed within the current plans for the product, we aim to fix as many as possible. / comments
I upgraded to version 1.4.9.1233 to test if this defect was fixed.The issue is not fixed.Version 1.4.8 mentioned fixing something similar which is why I re-tested. This issue is not a big deal for ...
0 votes
Feature Request: Results error filtering and feedback
I would like some sort of results filter to see just the databases and/or messages that errors.Also show a count of databases that have errored near the progress.script1.sql (233 of 1114) [1 with e...
1 follower 1 comment 0 votes
Thanks Eddie. I submitted the information by email as requested. For anyone else following this issue, to reproduce this problem, you must select the results grid as soon as possible and before all of the databases are processed. If you wait until after all of the databases are processed, then you will be selecting the results grid and forcing a draw of the results. The problem is that when watching the results stream in, the program doesn’t always draw all of the results into the grid. But a forced redraw by for example clicking Messages and then Results does fix the issue. I currently have about 1000 databases and am using 25 threads. This takes 9 seconds. That is enough time to switch to results grid under normal usage before all of the results are available. But I just reproduced this problem with 36 databases and 25 threads, by adding a WAITFOR DELAY to the query to give me time to switch to results and watch them stream in. I tried reproducing this issue with 5 databases and 2 threads, but wasn’t able to with a couple of attempts. Here is the query I used for the 36 database 25 thread test that did reproduce the issue: WAITFOR DELAY '00:00:03' SELECT 'test' / comments
Thanks Eddie. I submitted the information by email as requested. For anyone else following this issue, to reproduce this problem, you must select the results grid as soon as possible and before al...
0 votes
2017-04-20 Bug v1.3.2.883 - Not displaying some database results when done until toggling UI
I'm running a query against a lot of databases and sometimes the UI results grid does not show all of the results when completed until I toggle between UI elements such as Messages/Results tabs, or...
4 followers 9 comments 0 votes
1.2.5.477 Bug: &quot;On Error&quot; dropdown is not saved
When upgrading from 1.1 to 1.2 the "On Error" dropdown stopped remembering its previous value. I want to leave it at "Continue executing" each time the program starts. You fixed the issue in 1.2 wh...
1 follower 1 comment 0 votes