SQL Server Reporting Studio report showing “ERROR#” or invalid data type error

雨燕双飞 提交于 2019-12-03 10:16:46

Found the answer here.

Basically, it's a problem with caching and you need to delete the ".data" file that is created in the same directory as your report. Some also suggested copying the query/report to a new report, but that appears to be the hard way to achieve the same thing. I deleted the .data file for the report I was having trouble with and it immediately started working as-expected.

Another solution to this issue is to click Refresh Fields in the Dataset Properties menu.

This will update the list of fields, and force SSRS to get new data, rather than relying on a cached version.

After you preview the report, click the refresh button on the report and it will pull the data again creating an updated rdl.data file.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!