SQL Prompt 9.5.1.9434 fails to launch
mikegalusha
Posts: 4 Bronze 1
in SQL Prompt
Opening SSMS this morning I was prompted to update to 9.5.1. It installed as usual, no errors. but it bombs when launching SSMS now.
I downloaded the installer to see if it would update the install but it simply says I have a newer version already installed.
Thanks!
From the ActivityLog.xml, the last entry is the failure message.
<record>267</record>
<time>2019/05/02 15:03:27.079</time>
<type>Error</type>
<source>VisualStudio</source>
<description>CreateInstance failed for package [SQLPromptSsmsPackage]Source: 'mscorlib' Description: String cannot have zero length.
System.ArgumentException: String cannot have zero length.
 at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
 at System.Reflection.RuntimeAssembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
 at System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, RuntimeAssembly reqAssembly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
 at System.Reflection.RuntimeAssembly.InternalLoadFrom(String assemblyFile, Evidence securityEvidence, Byte[] hashValue, AssemblyHashAlgorithm hashAlgorithm, Boolean forIntrospection, Boolean suppressSecurityChecks, StackCrawlMark& stackMark)
 at System.Reflection.Assembly.LoadFrom(String assemblyFile, Evidence securityEvidence)
 at System.Activator.CreateInstanceFromInternal(String assemblyFile, String typeName, Boolean ignoreCase, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, Evidence securityInfo)
 at System.AppDomain.CreateInstanceFrom(String assemblyFile, String typeName)</description>
<guid>{E33B8A3B-D1CF-4EB0-92AA-0590F0B55B1A}</guid>
<hr>80004005 - E_FAIL</hr>
<errorinfo></errorinfo>
<record>267</record>
<time>2019/05/02 15:03:27.079</time>
<type>Error</type>
<source>VisualStudio</source>
<description>CreateInstance failed for package [SQLPromptSsmsPackage]Source: 'mscorlib' Description: String cannot have zero length.
System.ArgumentException: String cannot have zero length.
 at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
 at System.Reflection.RuntimeAssembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
 at System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, RuntimeAssembly reqAssembly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
 at System.Reflection.RuntimeAssembly.InternalLoadFrom(String assemblyFile, Evidence securityEvidence, Byte[] hashValue, AssemblyHashAlgorithm hashAlgorithm, Boolean forIntrospection, Boolean suppressSecurityChecks, StackCrawlMark& stackMark)
 at System.Reflection.Assembly.LoadFrom(String assemblyFile, Evidence securityEvidence)
 at System.Activator.CreateInstanceFromInternal(String assemblyFile, String typeName, Boolean ignoreCase, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, Evidence securityInfo)
 at System.AppDomain.CreateInstanceFrom(String assemblyFile, String typeName)</description>
<guid>{E33B8A3B-D1CF-4EB0-92AA-0590F0B55B1A}</guid>
<hr>80004005 - E_FAIL</hr>
<errorinfo></errorinfo>
Tagged:
Answers
Uninstalling SQL Prompt 9.5.1 did not delete my tabs history, but it is the only way to get 9.5.0 reinstalled.
I did however find the previous build in the C:\Users\{USERNAME}\AppData\Local\Temp\Red Gate\CFU folder, so I uninstalled the last build and re-installed the SQLPrompt_9.5.0.9311.exe build.
Did Redgate lose some of it's Dev or QA staff recently? These seem like very preventable issues.
This worked for me also. Uninstalled 9.5.1 then found the 9.5.0 version where you listed and all is back to normal. Thank you.
Apologies for the inconvenience.
We identified a problem in 9.5.1 and pulled the release. We were able to produce a fix which went out the next day in 9.5.2, so feel free to upgrade to this version:
http://download.red-gate.com/checkforupdates/SQLPrompt/SQLPrompt_9.5.2.9464.exe
We have identified a gap with our testing process and have taken steps to rectify this so that this issue doesn't occur again in the future.
Victoria Wiseman | Redgate Software
Have you visited our Help Center?