Options

Setting are not saved

NatanDNatanD Posts: 3 New member
edited August 27, 2023 7:27AM in SQL Prompt
I change the "ConnectionColoringServers" settings and they are not savedת
only if I manually update the XML files in "%localappdata%\Red Gate\SQL Prompt 10".

Installed version: 10.13.13.2147

Best Answer

  • Options
    ATurnerATurner Posts: 191 Silver 2
    Hi NatanD

    Could you check in the "snippets" folder located in "%localappdata%\Red Gate\SQL Prompt 10". That there are no duplicate GUIDS?

Answers

  • Options
    NatanDNatanD Posts: 3 New member
    Yes. I found 1 duplicate GUID.
    I fixed it, and now it works fine.
    Thank you!

    Note. The snippets folder is a network-shared folder.

    var dup = Directory.GetFiles(dirPath)
        .Select(f => f.Substring(f.IndexOf('-') + 1))
        .GroupBy(f => f)
        .Where(g => g.Count() > 1)
        .Select(f => f.Key)
        .ToList();

Sign In or Register to comment.