本地运行时是好的,但是发布到服务器上时却出现如下错误:
An error occurred during local report processing.
o The definition of the report 'Main Report ' is invalid.
+ An unexpected error occurred while compiling expressions. Native compiler return value: ‘[BC2001] file 'C:/WINDOWS/TEMP/gwud19ll.0.vb ' could not be found’
原因是服务器上的aspnet账号没有读写'C:/WINDOWS/TEMP这个文件夹的权限,在这个文件夹上加上aspnet账户的读写权限,然后再高级里面把第一个选项选上即可