This error normally occurs if you try to use the Report Viewer control or local RDLC reports.
This is because RDLC or Report Viewer control requires the website to run in Full trust mode.
MS Response
This issue is by design. Local mode requires full trust. The main reason for it is because local mode processing and rendering engine are hosted with the viewer and those operations demand full trust.
Sharing knowledge does not lessen your store, often it gets you more.
Success doesn't happen overnight and patience is key to living your dream life.
Success is a journey not a destination
Showing posts with label RDLC. Show all posts
Showing posts with label RDLC. Show all posts
Friday, February 11, 2011
Tuesday, February 08, 2011
The base class includes the field 'ReportViewer1', but its type (Microsoft.Reporting.WebForms.ReportViewer) is not compatible with the type of control (Microsoft.Reporting.WebForms.ReportViewer)
This error normally occurs when different versions of Microsoft.ReportViewer.WebForms.dll are referenced in web.config and in controls.
Clean the solution and delete the related dll files and then again rebuild the solution
Clean the solution and delete the related dll files and then again rebuild the solution
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.
You may get the above error when trying to view a RDLC report using with the VS 2005 or VS 2008 viewer controls with 2008 schema.
When using local mode, you are using the same report processing engine that was shipped with SQL Server 2005. This engine does not understand the new report definition schema and attempting to load a report created with one of the new SQL Server 2008 authoring tools will result in this error.
Open the RDLC in VS2010 and use the v10 of the report viewer control to run the report.
When using local mode, you are using the same report processing engine that was shipped with SQL Server 2005. This engine does not understand the new report definition schema and attempting to load a report created with one of the new SQL Server 2008 authoring tools will result in this error.
Open the RDLC in VS2010 and use the v10 of the report viewer control to run the report.
RDL and RDLC
RDL - RDL stands for Report Definition Language
RDLC - Report Definition Language Client-side processing
RDL files are created by the SQL Server 2008 version of Report Designer. RDLC files are created by the Visual Studio 2008 version of Report Designer.
RDL and RDLC formats have the same XML schema. However, in RDLC files, some values (such as query text) are allowed to be empty, which means that they are not immediately ready to be published to a Report Server. The missing values can be entered by opening the RDLC file using the SQL Server 2008 version of Report Designer. (You have to rename .rdlc to .rdl first.)
RDLC - Report Definition Language Client-side processing
RDL files are created by the SQL Server 2008 version of Report Designer. RDLC files are created by the Visual Studio 2008 version of Report Designer.
RDL and RDLC formats have the same XML schema. However, in RDLC files, some values (such as query text) are allowed to be empty, which means that they are not immediately ready to be published to a Report Server. The missing values can be entered by opening the RDLC file using the SQL Server 2008 version of Report Designer. (You have to rename .rdlc to .rdl first.)