SSRS report definition is newer than Server

后端 未结 8 2034
一个人的身影
一个人的身影 2020-11-27 04:29

I created some reports in Visual Studio 2015 with all the latest updates. However, when I try to deploy the reports I get this message:

The definition

8条回答
  •  广开言路
    2020-11-27 04:35

    I recently ran into this issue as well. I found that I only needed to change two items in the .rdl file in question.

    1. Change FROM:

      Report xmlns="http://schemas.microsoft.com/sqlserver/reporting/2016/01/reportdefinition" xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner"

      TO:

      Report xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner" xmlns:cl="http://schemas.microsoft.com/sqlserver/reporting/2010/01/componentdefinition" xmlns="http://schemas.microsoft.com/sqlserver/reporting/2010/01/reportdefinition"

    Unlike other responses, I needed 2010 instead of 2008. I would check an .rdl file that you have already deployed.

    1. Remove the "ReportParametersLayout" block.

    Note: If I removed ReportSections block, it did not work as others have noted.

提交回复
热议问题