You might see the following error in your Application event log when trying to run a Web Active Directory web application.
Unhandled exception caught in Application_Error handler in Global.asax.
Exception occurred in System.Xml: Unable to generate a temporary class (result=1).
error CS2001: Source file ‘C:\Windows\TEMP\tjb22ev9.0.cs’ could not be found
error CS2008: No inputs specified
This error is caused by a permissions problem with the NTFS ACL. To resolve it, add the application pool account for the Web Active Directory web application (typically the Network Service account) to the NTFS ACL on the C:\Windows\TEMP directory and give the account Modify permissions. Then run the web application again and make sure it compiles and runs correctly.
You can then try to remove the application pool service account from the NTFS ACL and the application will continue to run. If not, then add the account back to the ACL.