I am trying to use the report viewer in asp.net and have uploaded my site. However, when my page containing the report viewer is loaded, it shows the following error:
<
Updating ReportViewer should works. Use below instruction to install updated ReportViewer from Nuget Package Manager console.
Install-Package Microsoft.ReportingServices.ReportViewerControl.WebForms
Just add below assembly reference in your aspx file.
Here, 15.0.0.0 is the version number of the ReportViewerControl.WebForms that was installed in my VS. Please check Reference of the Solution to confirm the version number. No need to add PublicTokens (if multiple installation exists, it may creates trouble again).