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

后端 未结 3 1303
粉色の甜心
粉色の甜心 2021-02-07 02:56

I struggled with this issue for too long before finally tracking down how to avoid/fix it. It seems like something that should be on StackOverflow for the benefit of others.

相关标签:
3条回答
  • 2021-02-07 03:36

    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.

    0 讨论(0)
  • 2021-02-07 03:43

    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.

    0 讨论(0)
  • 2021-02-07 03:47

    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.

    0 讨论(0)
提交回复
热议问题