search cancel

Change .NET Web Temp folder of the NFA Website from Windows\Microsoft.NET\Framework\v4.30319\Temporary ASP.NET Files to another directory


Article ID: 5820


Updated On:


CA Network Flow Analysis (NetQos / NFA)


The NFA Console machines "RA" website creates .NET temp files under the directory:

c:\Windows\Microsoft.NET\Framework\v4.30319\Temporary ASP.NET Files

How can these temp files be moved to another location?




NFA Console 9.x on Windows


Please go to the following directory and back up the web.config file: 


After making a backup copy of this file, open it up in Notepad and look for a line like this: 
<compilation defaultLanguage="c#" debug="true" targetFramework="4.5"/> 

Edit that line to add a "tempdirectory" parameter to set the new location for the temp files. For example, to set it to c:\temp you can use the following format:

<compilation defaultLanguage="c#" debug="true" targetFramework="4.5" tempDirectory="c:\temp" /> 




Additional Information