I am trying to change where XmlSerializer Outputs Temporary. I am using a website (webforms) to connect to a SOAP service (Acumatica accounting system) and for some reason it is trying to write to the IIS path locations:
IIS Express: C:\Program Files (x86)\IIS Express\files.xml
IIS: c:\windows\system32\inetsrv\file.xml
I do not want to grant access to these folders. How do change the location of the temp xml file. I tried this Changing where XmlSerializer Outputs Temporary Assemblies but it did not work for me. I should mention that the website runs as IIS_WPG user.