SQL Prompt cannot access SSMS snippets folder in Azure Data studio
RajivYanamandra
Posts: 1 New member
Installed the SQL Prompt v0.2.2 in the Azure Data studio. I have set the path of the SSMS snippets folder in the settings as well. But when SQL prompt tries to access the folder it fails throwing a "Failed to import snippets from SSMS: Error: Access to the path denied". I have given the full control permission to everyone. It should be having access to the folder.
Does anyone else has had this issue?
Tagged:
Answers
Sorry you're having trouble with our ADS extension. This issue isn't something we've seen before. Could you try moving the snippets to a different location and seeing if the extension can access them there? This should tell us whether it's a general issue or specific to the location you're trying to use.
Thanks,
Tom
Redgate Software
Failed to import snippets from SSMS: Error: The JSON value could not be converted to System.String. Path: $['JOIN Schemas_Tables_Columns Template'].prefix | LineNumber: 3 | BytePositionInLine: 24.
I've tried removing all of the snippets from the folder and just putting one simple snippet back in but no luck.
Any ideas?
We've released a new version of our ADS extension (0.2.9) which addresses issues with importing snippets. Could you please update and check if issues you reported are now fixed for you?
Many thanks
Mel
Redgate