microsoft / azuredatastudio

Azure Data Studio is a data management and development tool with connectivity to popular cloud and on-premises databases. Azure Data Studio supports Windows, macOS, and Linux, with immediate capability to connect to Azure SQL and SQL Server. Browse the extension library for more database support options including MySQL, PostgreSQL, and MongoDB.
https://learn.microsoft.com/sql/azure-data-studio
MIT License
7.58k stars 908 forks source link

The Roaming Profile folder is located on another server (Redirected) #26008

Open OSch24 opened 3 weeks ago

OSch24 commented 3 weeks ago

Type: Bug

On our Citrix development servers, the actual "local" AppData folder is redirected to another server.

The problem now is that changes made via the GUI, for example a password in a SQL connection, can no longer be saved permanently.

ADS seems to have a problem with this, because look at how ADS displays the path when I display the ADS settings (Ctrl + ,) (right mouse button copy path):

\x1-profiles-APP\myusername\AppData\Roaming

The actual path (command line box: set app) shows the following:

\\Servername\x1-profiles-APP\myusername\AppData\Roaming

The complete server name (\Servername) is missing. The group policy is correct, all other programs including Visual Studio or SSMS can handle it, only ADS apparently can't.

I also searched the registry to see if ADS stores the path to "settings.json" somewhere. I couldn't find this path for ADS in the registry.

Azure Data Studio version: azuredatastudio 1.49.1 (2f696aa95a13ccabd7e0a4431d1d759e3a7b8cfd, 2024-08-13T18:12:38.831Z)