Unexpected character encountered while parsing value: <. Path '', line 0, position 0. Starting SSMS
PhilipBA
Posts: 10 New member
in SQL Prompt
I recently updated from SQL Prompt 10.6 to 10.7 and now the Prompt Tab is gone in SSMS 18. I see the error:
Unexpected character encountered while parsing value: <. Path '', line 0, position 0.
follow by:
The SOLPromptSsmsPackagelS’ package did not load
Here is particle part of the Activity Log, it seems related to Visual Studio has anyone else experienced this?
Unexpected character encountered while parsing value: <. Path '', line 0, position 0.
follow by:
The SOLPromptSsmsPackagelS’ package did not load
correctly.
The problem may have been caused by a configuration change or by the installation of another extension. You can get more information by examining the file \AppData\Roaming\Microsoft\AppEnv\ 15.0\ActivityLog.xml'.
Restarting Visual Studio could help resolve this issue.
Restarting Visual Studio didn't help, and reverting back to SQL Prompt 10.6 didn't work either
Restarting Visual Studio didn't help, and reverting back to SQL Prompt 10.6 didn't work either
Here is particle part of the Activity Log, it seems related to Visual Studio has anyone else experienced this?
<entry>
<record>284</record>
<time>2021/08/12 14:05:53.931</time>
<type>Error</type>
<source>FrameControlManager</source>
<description>Failed to load the frame control registered at MainWindowFrameControls\{304ee989-b7c9-46c8-aa48-f080bc47cee0}.
Exception: Microsoft.VisualStudio.PlatformUI.ControlRegistrationException: Registration error for MainWindowFrameControls\{304ee989-b7c9-46c8-aa48-f080bc47cee0} ---> System.Runtime.InteropServices.COMException: Unspecified error (Exception from HRESULT: 0x80004005 (E_FAIL))
 at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
 at Microsoft.VisualStudio.PlatformUI.FrameControl.LoadDisplayName(SettingsStore store, String collection)
 at Microsoft.VisualStudio.PlatformUI.FrameControl.Read(SettingsStore store, String collection)
 --- End of inner exception stack trace ---
 at Microsoft.VisualStudio.PlatformUI.FrameControl.Read(SettingsStore store, String collection)
 at Microsoft.VisualStudio.PlatformUI.FrameControlManager.<LoadFrameControls_OnIdle>d__7.MoveNext()</description>
</entry>
<entry>
<record>285</record>
<time>2021/08/12 14:05:53.931</time>
<type>Warning</type>
<source>VisualStudio</source>
<description>Performance warning: String load failed. Pkg:{5E80A5A1-B722-4727-9015-148AAB6310B0} LANG:0409 ID:1000
</description>
</entry>
<entry>
<record>286</record>
<time>2021/08/12 14:05:53.931</time>
<type>Error</type>
<source>FrameControlManager</source>
<description>Failed to load the frame control registered at MainWindowFrameControls\{73988e61-7e30-4e87-b891-23b5e460db21}.
Exception: Microsoft.VisualStudio.PlatformUI.ControlRegistrationException: Registration error for MainWindowFrameControls\{73988e61-7e30-4e87-b891-23b5e460db21} ---> System.Runtime.InteropServices.COMException: Error HRESULT E_FAIL has been returned from a call to a COM component.
 at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
 at Microsoft.VisualStudio.PlatformUI.FrameControl.LoadDisplayName(SettingsStore store, String collection)
 at Microsoft.VisualStudio.PlatformUI.FrameControl.Read(SettingsStore store, String collection)
 --- End of inner exception stack trace ---
 at Microsoft.VisualStudio.PlatformUI.FrameControl.Read(SettingsStore store, String collection)
 at Microsoft.VisualStudio.PlatformUI.FrameControlManager.<LoadFrameControls_OnIdle>d__7.MoveNext()</description>
</entry>
<entry>
<record>287</record>
<time>2021/08/12 14:05:54.011</time>
<type>Warning</type>
<source>VisualStudio</source>
<description>Performance warning: String load failed. Pkg:{B22490B8-AA51-43B1-97EE-509A33B681F3} LANG:0409 ID:1001
</description>
</entry>
<entry>
<record>288</record>
<time>2021/08/12 14:05:54.011</time>
<type>Error</type>
<source>FrameControlManager</source>
<description>Failed to load the frame control registered at MainWindowFrameControls\{F66FBC48-9AE4-41DC-B1AF-0D64F0F54A07}.
Exception: Microsoft.VisualStudio.PlatformUI.ControlRegistrationException: Registration error for MainWindowFrameControls\{F66FBC48-9AE4-41DC-B1AF-0D64F0F54A07} ---> System.Runtime.InteropServices.COMException: Error HRESULT E_FAIL has been returned from a call to a COM component.
 at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
 at Microsoft.VisualStudio.PlatformUI.FrameControl.LoadDisplayName(SettingsStore store, String collection)
 at Microsoft.VisualStudio.PlatformUI.FrameControl.Read(SettingsStore store, String collection)
 --- End of inner exception stack trace ---
 at Microsoft.VisualStudio.PlatformUI.FrameControl.Read(SettingsStore store, String collection)
 at Microsoft.VisualStudio.PlatformUI.FrameControlManager.<LoadFrameControls_OnIdle>d__7.MoveNext()</description>
</entry>
<entry>
<record>289</record>
<time>2021/08/12 14:05:54.026</time>
<type>Warning</type>
<source>AutoLoadManager</source>
<description>Package {e33b8a3b-d1cf-4eb0-92aa-0590f0b55b1a} for UI context {e80ef1cb-6d64-4609-8faa-feacfd3bc89f} loads synchronously and may not be supported in a future release.</description>
</entry>
<entry>
<record>290</record>
<time>2021/08/12 14:05:54.026</time>
<type>Information</type>
<source>VisualStudio</source>
<description>Entering function CVsPackageInfo::HrInstantiatePackage</description>
<guid>{E33B8A3B-D1CF-4EB0-92AA-0590F0B55B1A}</guid>
</entry>
<entry>
<record>291</record>
<time>2021/08/12 14:05:54.026</time>
<type>Information</type>
<source>VisualStudio</source>
<description>Begin package load [SQLPromptSsmsPackage18]</description>
<guid>{E33B8A3B-D1CF-4EB0-92AA-0590F0B55B1A}</guid>
</entry>
<entry>
<record>292</record>
<time>2021/08/12 14:05:59.336</time>
<type>Error</type>
<source>VisualStudio</source>
<description>LegacySitePackage failed for package [SQLPromptSsmsPackage18]Source: 'Newtonsoft.Json' Description: Unexpected character encountered while parsing value: <. Path '', line 0, position 0.
</description>
<guid>{E33B8A3B-D1CF-4EB0-92AA-0590F0B55B1A}</guid>
<hr>80131500</hr>
<errorinfo></errorinfo>
</entry>
<entry>
<record>293</record>
<time>2021/08/12 14:05:59.336</time>
<type>Error</type>
<source>VisualStudio</source>
<description>SetSite failed for package [SQLPromptSsmsPackage18](null)</description>
<guid>{E33B8A3B-D1CF-4EB0-92AA-0590F0B55B1A}</guid>
<hr>80131500</hr>
<errorinfo></errorinfo>
</entry>
<entry>
<record>294</record>
<time>2021/08/12 14:05:59.336</time>
<type>Error</type>
<source>VisualStudio</source>
<description>End package load [SQLPromptSsmsPackage18]</description>
<guid>{E33B8A3B-D1CF-4EB0-92AA-0590F0B55B1A}</guid>
<hr>80131500</hr>
<errorinfo></errorinfo>
</entry>
</activity>
Tagged:
Answers
Dan Jary | Redgate Software
Have you visited our Help Center?
Dan Jary | Redgate Software
Have you visited our Help Center?
I have added the full activity log for the errors, I have seen on this computers
Thanks
Ran Revo Uninstaller/Rebooted and https://download.red-gate.com/checkforupdates/SQLPrompt/SQLPrompt_10.7.1.22264.exe and Same Error
Ran Revo Uninstaller/Rebooted and https://download.red-gate.com/checkforupdates/SQLPrompt/SQLPrompt_10.7.1.22264.exe and Same Error
Is it possible for you to zip up and share the contents of c:\Users\<username>\AppData\Local\Red Gate\SQL Prompt 10 with us? You can email to support@red-gate.com with subject "For ticket #255982".
Jessica Ramos | Product Support Engineer | Redgate Software
Have you visited our Help Center?
Dan Jary | Redgate Software
Have you visited our Help Center?
However, I have found a way to generate the error in version 10.8.2.23489 that will not corrupt the installation.
With "Manage Code Analysis Rules" enabled, click on the light-bulb in the margin of an item and select "show issue details". If I then select "Disable Rule" from the "issue Details" popup, Prompt then displays the error dialog with the "Unexpected Character encountered when parsing value..." error. Unike the startup error, however, I'm able to close the dialog and continue working.