When I attempt to login to DemandTools, I get the error below referencing a Windows temporary file. What can I do to get logged in successfully?
Failed error message. Unable to generate a temporary class (result=1).Error CS2001: Source file ‘c/Windows/temp/hns413ae.0.cs’ could not be found
This error is typically thrown when users do not have full read/write permissions to the windows temporary folder referenced in the error. (C:\windows\temp). Here is information on granting the appropriate read/write access to this folder so that you can log in successfully.
Message: Unable to generate a temporary class(result=1).error CS2001: Source file 'C:\Windows\TEMP\’ could not be found
This is indicative of improper permissions on the folder C:\Windows\TEMP which arepreventing the application from creating the temporary files necessary toperform the requested operation.
Note: The name of the file in the TEMP folder that could not be found could be anything as it may be randomly generated by the system.
Perform the following steps to correct the invalid permissions:
Right-click on C:\Windows\TEMP in Windows Explorer and select Properties. Click the Security tab. Click Advanced. Click Change Permissions. If the IIS group is not listed, Add the group. Once added, or if it was already listed, set the permissions to at least List folder / read data for this folder, sub-folders and files.
If the Users group is not listed, add the group. Once added, or if it was already listed, set the permissions to at least Traverse folder / execute file / Create files / write dataCreate folders / append data for this folder, sub-folders and files.
Apply all changes and click OK until all dialogs are closed. Clear the browser's cache, restart the browser and log in again.