SQL Prompt load error in SSMS 10.11
![bhawth_tx](https://us.v-cdn.net/6029854/uploads/defaultavatar/nZUSABQN8JEE0.jpg)
in SQL Prompt
I've had SQL Prompt failing to load in SQL Management Studio (17.1.2) lately. Works fine in Visual Studio 2022. Latest version of SQL Prompt.
I've uninstalled/scrubbed the registry of SQL Prompt, reinstalled, to no avail. Any suggestions?
From SSMS ActivityLog.xml:
I've uninstalled/scrubbed the registry of SQL Prompt, reinstalled, to no avail. Any suggestions?
From SSMS ActivityLog.xml:
<entry>
<record>293</record>
<time>2022/04/05 20:46:29.681</time>
<type>Warning</type>
<source>VisualStudio</source>
<description>Unexpected system error mode before loading package [SQLPromptSsmsPackage18]</description>
<guid>{E33B8A3B-D1CF-4EB0-92AA-0590F0B55B1A}</guid>
</entry>
<entry>
<record>294</record>
<time>2022/04/05 20:46:29.681</time>
<type>Information</type>
<source>VisualStudio</source>
<description>Begin package load [SQLPromptSsmsPackage18]</description>
<guid>{E33B8A3B-D1CF-4EB0-92AA-0590F0B55B1A}</guid>
</entry>
<entry>
<record>295</record>
<time>2022/04/05 20:46:29.693</time>
<type>Error</type>
<source>VisualStudio</source>
<description>CreateInstance failed for package [SQLPromptSsmsPackage18]Source: 'mscorlib' Description: Could not load type 'RedGate.SQLPrompt.SsmsPackage18.SQLPromptSsmsPackage18' from assembly 'RedGate.SqlPrompt.SsmsPackage18, Version=10.11.9.27382, Culture=neutral, PublicKeyToken=7f465a1c156d4d57'.
System.TypeLoadException: Could not load type 'RedGate.SQLPrompt.SsmsPackage18.SQLPromptSsmsPackage18' from assembly 'RedGate.SqlPrompt.SsmsPackage18, Version=10.11.9.27382, Culture=neutral, PublicKeyToken=7f465a1c156d4d57'.
 at System.Reflection.RuntimeAssembly.GetType(RuntimeAssembly assembly, String name, Boolean throwOnError, Boolean ignoreCase, ObjectHandleOnStack type)
 at System.Reflection.RuntimeAssembly.GetType(String name, Boolean throwOnError, Boolean ignoreCase)
 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>
</entry>
Tagged:
Answers
I am glad to hear that uninstalling and reinstalling SQL Prompt has fixed your issue.