总题描述:
在开发环境上报表显示正确,但发布到IIS后不能正确显示提示 :
- An error occurred during local report processing.
- The definition of the report 'Main Report' is invalid.
- The report definition is not valid. Details: Data at the root level is invalid. Line 1, position 1.
- The definition of the report 'Main Report' is invalid.
- 解决办法:把报表文件(.rdlc)copy到对应的服务器文件夹内.因为vs发布时把他们都编译成了只有1KB的文件.替换即可.