report error

Last Reply on Apr 07, 2016 04:26 AM By moayyad

Posted on Mar 28, 2016 02:51 AM

Error    43    The report definition is not valid.  Details: The report definition has an invalid target namespace '' which cannot be upgraded.    C:\Users\User\Documents\Visual Studio 2010\WebSites\WebSite4\Cpanel\Reports\pay.rdlc    1    


Posted on Apr 07, 2016 04:26 AM


first iam sorry

but its same problem

the erorr shows in report any way i find the answer by tracking code


erorr is

CS0433: The type 'Microsoft.Reporting.WebForms.ReportViewer' exists in both 'c:\Windows\assembly\GAC_MSIL\Microsoft.ReportViewer.WebForms\\Microsoft.ReportViewer.WebForms.dll' and 'c:\Windows\assembly\GAC_MSIL\Microsoft.ReportViewer.WebForms\\Microsoft.ReportViewer.WebForms.dll'


Solution is

change Version  in html page code

<%@ Register assembly="Microsoft.ReportViewer.WebForms, Version=, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" namespace="Microsoft.Reporting.WebForms" tagprefix="rsweb" %>