locked
The report definition is not valid. Details: The report definition has an invalid target namespace RRS feed

  • Question

  • User-1911864377 posted

    Hi,

    I have already build project on .NET 4, VS 2010. But for some reason I need to change it to point to .NET 3.5 VS 2008.

    For that I right click on projects and in Project Properties I selected Targer Framework to .NET 3.5. By doing so I am getting following error.

    There are many rdlc report files in my project that is giving error :

    The report definition is not valid.  Details: The report definition has an invalid target namespace 'http://schemas.microsoft.com/sqlserver/reporting/2008/01/reportdefinition' which cannot be upgraded.

    Following is code snippet of my axpx page :

    <%@ Register Assembly="Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
        Namespace="Microsoft.Reporting.WebForms" TagPrefix="rsweb" %>
     <rsweb:ReportViewer ID="ReportViewer1" runat="server" Font-Names="Verdana" 
               Font-Size="8pt" InteractiveDeviceInfos="(Collection)" 
               WaitMessageFont-Names="Verdana" WaitMessageFont-Size="14pt"
               SizeToReportContent="true">
               <LocalReport ReportPath="OpenCustomer
             ........
    </rsweb:ReportViewer>

    The rdlc files that were previously containing design, now contains some html codes representing errors.

    Can anyone please help me.



    Tuesday, April 2, 2013 2:46 PM

All replies

  • User-1137493631 posted

    pelase have this previus thread , you may have some idea about your problem 

    http://forums.asp.net/t/1822587.aspx/1

    Tuesday, April 2, 2013 4:44 PM
  • User-1911864377 posted

    pelase have this previus thread , you may have some idea about your problem 

    http://forums.asp.net/t/1822587.aspx/1

    Hi,

    that did'nt helped. Please anyone clearly help how to resolve this problem.

    The above post was also unsolved.

    Thursday, April 4, 2013 8:51 PM
  • User-1137493631 posted

    Microsoft.ReportViewer.WebForms, Version=10.0.0.0

    this version is for visual studio 2010, please use visual studio 2008 reportviewer dll.

    Thursday, April 4, 2013 8:56 PM
  • User-1911864377 posted

    Microsoft.ReportViewer.WebForms, Version=10.0.0.0

    this version is for visual studio 2010, please use visual studio 2008 reportviewer dll.

    Can you tell exact version number of the dll to refer. My rdlc report is not opening, it is containing some html tags insteed of having design.

    Actually, the project is already running on VS 2010. I created new project in VS 2008 and added existing items from the earlier project. But that is giving error.

    Can anyone please help regarding this.

    Friday, April 5, 2013 12:08 PM