This question is also related to my other question ASP.NET MVC - Website Paths.
I have a 3rd party component which has hard-coded directory paths compiled into the assembly. An example of one of the paths is:
%APPDATA%\Vendor\Product\settings.ini
So if I create a console application/windows service and run it under my account on my machine (under windows server 2003) and save out these settings they are saved to say this directory:
C:\Documents and Settings\James\Application Data\Vendor\Product\settings.ini
However, if I try to do the same thing via my web app, it doesn't.
I am trying to figure out where the %APPDATA%
environment variable is mapped to when used within an ASP.NET MVC web application. I have tried placing the Vendor\Product\
directory in my App_Data
directory as suggested by someone in the other question....this didn't work.
I thought perhaps the save would just fail, however, no exception is being thrown the line is processed like it normally would.