Web.Config Convert WebFroms verison 8.0.0.0 to WebFroms verison 9.0.0.0 to Solution of 1) Close VS 2) Delete all of Temporary Asp files on:(Window install path ) C: WINDOWS Microsoft.NET Framework v2.0.50727 Temporary ASP.NET Files. Hi winkimjr2, Thank you for posting here. According to your question, I find Microsoft.ReportViewer.Common, but it only have one version 10.0.40219.1.
-->The Report Viewer controls can be used to integrate Reporting Services RDL reports into WebForms and WinForms apps. For detailed information about recent updates see the changelog.
Add the Report Viewer control to a new web project
Create a new ASP.NET Empty Web Site or open an existing ASP.NET project.
You can use .NET Framework 4.6 or any newer version.
Install the Report Viewer control NuGet package via the NuGet package manager console.
Add a new .aspx page to the project and register the Report Viewer control assembly for use within the page.
Add a ScriptManagerControl to the page.
Add the Report Viewer control to the page. The snippet below can be updated to reference a report hosted on a remote report server.
The final page should look like the following.
Update an existing project to use the Report Viewer control
Make sure to update any assembly references to version 15.0.0.0, including the project's web.config and all .aspx pages that reference the viewer control.
Sample web.config changes
Sample .aspx
Add the Report Viewer control to a new Windows Forms project
Create a new Windows Forms Application or open an existing project.
You can use .NET Framework 4.6 or any newer version.
Install the Report Viewer control NuGet package via the NuGet package manager console.
Add a new control from code or add the control to the toolbox.
How to set 100% height on the Report Viewer control
Install Microsoft.reportviewer.webforms Version=11.0.0.0
If setting the height of the viewer control to 100% the parent element is required to have a defined height, or all ancestors are required to have percentage heights.
Set the height of all the ancestors to 100%
Set the parent's height attribute
For more information about viewport percentage lengths, see Viewport-percentage lengths.
Install Microsoft Reportviewer Webforms 9.0.0.0 Free
Add the control to Visual Studio toolbar
The Report Viewer Control is now shipped as a NuGet package and no longer shows in the Visual Studio toolbox by default. You can add the control to the toolbox manually.
Install the NuGet package for either the WinForms or WebForms as mentioned above.
Remove the Report Viewer Control that is listed in the toolbox.
Right-click in anywhere in the toolbox and then select Choose Items....
On the .NET Framework Components, select Browse.
Select the Microsoft.ReportViewer.WinForms.dll or Microsoft.ReportViewer.WebForms.dll from the NuGet package you installed.
Note
The NuGet package will be installed in the solution directory of your project. The path to the dll will be similar to the following:
{Solution Directory}packagesMicrosoft.ReportingServices.ReportViewerControl.Winforms.{version}libnet40
or{Solution Directory}packagesMicrosoft.ReportingServices.ReportViewerControl.WebForms.{version}libnet40
.The new control should display within the toolbox. You can then move it to another tab within the toolbox if you wish.
Common issues
The viewer control is designed for modern browsers. The control may not work as expected if the browser renders the page using IE compatibility mode. Intranet sites may require a meta tag to override default browser behavior.
NuGet.org pages
Here are links to articles on the NuGet.org site about the WebForm and WinForm versions of the Report Viewer control:
- Microsoft.ReportingServices.ReportViewerControl.WebFormshttps://www.nuget.org/packages/Microsoft.ReportingServices.ReportViewerControl.WebForms/
- Microsoft.ReportingServices.ReportViewerControl.Winformshttps://www.nuget.org/packages/Microsoft.ReportingServices.ReportViewerControl.WinForms/
Forum feedback
Let the team know about issues on the Reporting Services forums.
Install Microsoft Reportviewer Web Forms 9.0.0.0
See also
The definition of the report 'Main Report' is invalid.
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.