Unable to generate a temporary class (result=1). error CS2001: Source file C:\WINDOWS\TEMP\filename.cs could not be found error CS2008: No inputs specified
I encountered this error when I was trying to access the DotNetNuke Host Settings page.
I found the error CS2008 issue was related to the user account assigned to the directory and the permissions configured.
To set the permissions and account for the temporary directory:
- Navigate to the directory C:\Windows and right click on the Temp folder.
- Open the Security tab
- Click Add
- Click Advanced
- Click Find Now
- Select IWAM_YourMachineName
- Ensure that the account has at least the read/write and modify rights


