speckle-sharp icon indicating copy to clipboard operation
speckle-sharp copied to clipboard

Kits folder issues when running network accounts

Open teocomi opened this issue 3 years ago • 0 comments

A user is experiencing issues in GH & Rhino where the wrong Speckle/Kits folder is being used by our connectors:

  • GH&Rhino are using Default\AppData\Roaming\
  • BUT the files are installed in <MyUser>\AppData\Roaming\
  • it also seems that Manager (v2) is using the <MyUser> one for account management

https://speckle.community/t/cant-find-speckle-kits-when-using-gh-sdk/3297/3

This is probably caused by using network service or local service accounts.

Potential solution

Since our code is using Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData); to retrieve the Speckle and Kits folder, a solution could be to switch and use Environment.ExpandEnvironmentVariables("%AppData%") instead.

teocomi avatar Aug 01 '22 06:08 teocomi