Visual Studio 2019中添加参数致RDLC报表定义从2008转2016报错求助
问题:VS2019 Enterprise搭配SQL Server 2014时,RDLC报表添加参数后版本自动升级并报错
使用Visual Studio 2019 Enterprise搭配SQL Server 2014环境,给RDLC报表添加参数时,报表定义会从2008版本自动变更为2016版本,同时报表抛出错误。
报表定义版本变化
- 添加参数前(无数据源空白报表),用HTML编辑器打开可见:
<Report xmlns="https://schemas.microsoft.com/sqlserver/reporting/2008/01/reportdefinition" xmlns:rd="https://schemas.microsoft.com/SQLServer/reporting/reportdesigner">
- 添加参数后(仍无数据源),定义变为:
<Report xmlns="https://schemas.microsoft.com/sqlserver/reporting/2016/01/reportdefinition" xmlns:rd="https://schemas.microsoft.com/SQLServer/reporting/reportdesigner">
附相关截图
- 添加参数前的报表状态
- 添加参数后的报表状态
- 报表抛出的错误信息
- 报表属性配置
- 项目属性配置
内容的提问来源于stack exchange,提问作者shansi28
相关产品推荐
相关产品推荐

