|
Unable to generate a temporary class
|
|
Rating: 0 user(s) have rated this article
Posted by: admin,
on 7/11/2009,
in category "MS .NET"
Views: this article has been read 1356 times
Location: Crest Hill, IL, United States
Abstract: Error message when ASP.NET 2.0 is configured to run with a user account: "Unable to generate a temporary class"
In this scenario, ASP.NET 2.0 may not save the user profile, and you may receive an error message that is similar to the following:
[InvalidOperationException: Unable to generate a temporary class (result=1).
error CS2001: Source file 'D:\WINDOWS\TEMP\d0lurtzx.0.cs' could not be found
error CS2008: No inputs specified
Cause
This issue occurs if the user account does not have the List Folder Contents and Read permissions on the %windir%\Temp folder.
Resolution
To resolve this issue, grant the user account the List Folder Contents and Read permissions on the %windir%\Temp folder.