本地运行时是好的,但是发布到服务器上时却出现如下错误:
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这个文件夹的权限,如下配置权限即可。