I have an ASP.NET 2.0 web application running on a shared server from a well-known hosting provider. Sometimes I seem to get errors like this:
Could not find file 'C: \ WINDOWS \ TEMP \ lxnmfrsz.dll'. Description: An unhandled exception occurred during the execution of the current web request. View the stack trace for more information about the error and its occurrence in the code.
Exception Details: System.IO.FileNotFoundException: Could not find file 'C: \ WINDOWS \ TEMP \ lxnmfrsz.dll'.
I searched around and it seems like this is a common problem. One solution is to clear the temporary folder or restart IIS. Since I do not have access to these things on a server that I do not have, these are not really options. I tried setting the temp directory to another directory using the directive in web.config, but apparently it uses the default temporary files directory. Is there any other way to change the temp directory and / or solve this problem?
source share