recent install, can't access settings
end-user
Posts: 10 Bronze 3
I just installed the latest version on a fresh copy of ADS and I can't use any of the commands. For example
Tagged:
Best Answer
-
Jon_Kirkwood Posts: 442 Gold 1Hi @end-user,
Thank you for reaching out on the Redgate forums and sorry to hear about your SQL Prompt in ADS concern.
Can I please check the version you have installed, so I can verify any issues in the program?
When this forum post was created I believe the version might've been v0.2.13 and there has been a subsequent release v0.2.14 since then.
If you aren't on the current version, can I request that you download and install it and confirm if this error is still occurring.
It may also be worth uninstalling the extension and re-installing in case there has been some local corruption of files that would be fixed by a fresh install.Jon Kirkwood | Technical Support Engineer | Redgate Software
Answers
- Open the file: `C:\Users\[ReplaceWithActualUser]\.azuredatastudio\extensions\redgate.sql-prompt-0.2.13\out\StylesFolder.js` in your preferred text editting tool.
- Delete the line with this text `const valid_filename_1 = require("valid-filename");` (line number 18).
- Save the file (... and close editor).
- Open Azure Data Studio.
Now SQL Prompt should be working i ADS.You might like make a copy of the file for backup reasons.
Re-open if already open.
Navigating through a recent installation can sometimes be tricky. Double-check the installation steps and ensure all prerequisites are met. If issues persist, consult the support documentation or contact customer service for assistance.
, lol these kind of silly issues truly just waste your time.
I encountered the same issue, but I may have found a potential workaround for version 0.2.13. Here's what you can try:
Navigate to the file located at:
C:\Users\[YourUsername]\.azuredatastudio\extensions\redgate.sql-prompt-0.2.13\out\StylesFolder.js
It's a good idea to create a backup of the file before making any edits.
Open the file in your preferred text editor (Notepad++, Visual Studio Code, etc.).
Find and delete the line that reads:
const valid_filename_1 = require("valid-filename");
This line is typically located around line 18.
Save the file and close your editor.
Restart Azure Data Studio. If it’s already open, just close and reopen it.
This should resolve the issue with SQL Prompt not working in Azure Data Studio. Let me know if it works for you!
Additional tip: If you frequently run into issues with extensions, it's worth checking for updates or reinstalling them, as some compatibility problems might arise after version updates.
ff advance 2024
I was recently facing issues accessing the settings after a new installation, and I found that it could be related to the login schedule. I came across a helpful resource that sheds light on this matter, and if you’re looking for guidance on managing your login schedule efficiently, I highly recommend checking out myaci schedule login. This might help resolve the access issues and ensure smoother functioning."