SQL History Object reference not set to an instance of an object
cookj
Posts: 1 Bronze 1
in SQL Prompt
I was running SSMS v19.3 and started getting the 'Object reference not set to an instance of an object' error. I've upgraded to SSMS v20.2 and have the latest SQL Prompt installed but still getting this error when I click on SQL History.
Tagged:
Answers
C:\Windows\Microsoft.NET\assembly\GAC_MSIL\Newtonsoft.Json
If there is a version greater than v4.0_11 installed recently then SQL Prompt has issues with this.
Thanks for your post. A common fix for this issue can be found here: https://productsupport.red-gate.com/hc/en-us/articles/360019285638--Access-to-the-path-XXXX-is-denied-or-Object-reference-is-not-set-to-instance-of-an-object
If that doesn't resolve the issue for you, please raise a support ticket with us!