I saw many old questions like this but it is not my case.
Asp.net application is running in AppPool (iis in win10) with 'load user profile' enabled.
And nevertheless Environment.GetFolderPath(ApplicationData or LocalApplicationData) returns an empty string. CommonApplicationData returns correct folder.
I ensure that {user}AppData is exist on disk.
So, question: how can I get not empty string for AppData?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…