错误信息:
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.InvalidOperationException: Unable to generate a temporary class (result=1).
error CS2001: Source file 'C:\WINDOWS\TEMP\shvhzl5w.0.cs' could not be found
error CS2008: No inputs specified
解决办法:
给C:\WINDOWS\TEMP\添加NETWORK SERVICE(或对应IIS站点的运行用户)的写入权限。