IIS 7.5 application pool uses wrong %APPDATA% for custom user as identity
I want my MVC3 web application to access %APPDATA% (e.g. C:\Users\MyUsername\AppData\Roaming on Windows 7) because I store configuration files there. Therefore I created an application pool in IIS with the identity of the user "MyUsername", created that user's profile by logging in with the account, and turned on the option "Load User Profile" (was true by default anyway). Impersonation is turned off. Now I have the problem that %APPDATA% (in C#): appdataDir = Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData) resolves to c:\windows\system32\inetsrv instead of C:\Users