An error occurred during local report processing: report definition has an invalid target namespace

Programmer algorithm practice must read, common Java API skills to share>>>

An error occurred during local report processing exception

There are many reasons for this exception. The following describes the exception caused by the vs version problem:

The report definition has an invalid target namespace ‘ http://schemas.microsoft.com/sqlserver/reporting/2016/01/reportdefinition ‘ which cannot be upgraded.

This error occurred when the RDLC report was modified

At that time, I wanted to add a new RDLC report template. I copied an original RDLC report, modified it on the basis of the original report, and then saved it. After looking at the report code, I found that the report’s namespace changed from 2008 to 2016, and the report code format changed. Then I madly reported that error

Solution:

Will: & lt; Report xmlns=” http://schemas.microsoft.com/sqlserver/reporting/2016/01/reportdefinition ” xmlns:rd=” http://schemas.microsoft.com/SQLServer/reporting/reportdesigner “>

Change to: & lt; Report xmlns=” http://schemas.microsoft.com/sqlserver/reporting/2008/01/reportdefinition ” xmlns:rd=” http://schemas.microsoft.com/SQLServer/reporting/reportdesigner “>

Delete:

< ReportSection>
< ReportSections>

Don’t delete the middle content of the node

</ ReportSection>
</ ReportSections>

Delete:

< ReportParametersLayout>< & lt/ ReportParametersLayout>

Save and the previous format will be restored

Like 2

Collection

Share

Article report

Don’t like to study, just want to sleep

Published 54 original articles·

Praised 74·

10000 visits+

private letter

Attention

Similar Posts: