Link to home
Start Free TrialLog in
Avatar of K Feening
K FeeningFlag for Australia

asked on

Report Viewer

Report Viewer
I get Error when trying to use see attached
Report-Viewer-Error.docx
Avatar of Aditya Milan
Aditya Milan
Flag of India image

Share your webconfig (after replacing information that is private and need not to be available to public)
Avatar of K Feening

ASKER

Thanks Aditya

<?xml version="1.0"?>
<!--
  For more information on how to configure your ASP.NET application, please visit
  https://go.microsoft.com/fwlink/?LinkId=169433
  -->
<configuration>
  <connectionStrings>
    <add name="SchoolDataConnectionString" connectionString="Data Source=WIN-GGQKG2961Q8\SCHOOLDATASQL;Initial Catalog=SchoolData;Integrated Security=True"
      providerName="System.Data.SqlClient" />
    <add name="SchoolDataConnectionString2" connectionString="Data Source=WIN-GGQKG2961Q8\SCHOOLDATASQL;Initial Catalog=SchoolData;Integrated Security=True"
      providerName="System.Data.SqlClient" />
  </connectionStrings>
  <system.web>
    <compilation debug="true" strict="false" explicit="true" targetFramework="4.7.2">
      <assemblies>
        <add assembly="Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
        <add assembly="Microsoft.ReportViewer.Common, Version=10.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
        <add assembly="Microsoft.Build.Framework, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
        <add assembly="System.Management, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
      </assemblies>
    </compilation>
    <httpRuntime targetFramework="4.7.2"/>
  </system.web>
  <system.codedom>
    <compilers>
      <compiler language="c#;cs;csharp" extension=".cs" type="Microsoft.CodeDom.Providers.DotNetCompilerPlatform.CSharpCodeProvider, Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=2.0.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" warningLevel="4" compilerOptions="/langversion:default /nowarn:1659;1699;1701"/>
      <compiler language="vb;vbs;visualbasic;vbscript" extension=".vb" type="Microsoft.CodeDom.Providers.DotNetCompilerPlatform.VBCodeProvider, Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=2.0.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" warningLevel="4" compilerOptions="/langversion:default /nowarn:41008 /define:_MYTYPE=\&quot;Web\&quot; /optionInfer+"/>
    </compilers>
  </system.codedom>
</configuration>

Open in new window

Check the version for 'Microsoft.ReportViewer.WebForms' and 'Microsoft.ReportViewer.Common'




Thanks Aditya



User generated image

User generated image
Did you upgrade your project?  If so, try installing a newer version of report builder (first uninstall the current version, rebuild and then install)
Hi Juan
VS2019 Error but VS2010 still works
I add removed Reportviewer and installed reportviewer 2015
It still shows 10.0.0.0 in the choose toolbox items what do I have to do to correct see insert

User generated image

User generated image

IF i click both reportviewer(s) I still get error
Thanks
try installing it in VS 2019 via NuGet Manager
Sorry to sound dumb but how do I do it I haven't used NuGet I downloaded 2015
I Tried

PM> Install-Package Microsoft.ReportViewer.2015 -Version 12.0.2.2403

Open in new window

Error Default not found then
PM> Install-Package Microsoft.ReportViewer.2015 -Version 15.0.0.0

Open in new window

The Report Viewer is install here
User generated image


Go to Tools-> NuGet Package Manager->Manage Nuget Packages for Solution.

You can either look at installed click on the report viewer and then upgrade, or go to browse and search for it.  
btw: you're modifying the solution's version, not the globally installed version.
New to this

tried
Go to Tools-> NuGet Package Manager->Manage Nuget Packages for Solution got this message
User generated image


What type of project do you have?
attach an image of the solution explorer


Hi Juan
Converting VB6 to Cloud base VB.net
User generated imageUser generated image

ASKER CERTIFIED SOLUTION
Avatar of Juan Ocasio
Juan Ocasio
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I get a list of report viewer from 10.0 .40219.1 and 12.0.2402.15 have red cross for installed
I went into Go to Tools-> NuGet Package Manager->Manage Nuget Packages for Solution. not References
User generated imageUser generated imageUser generated image
So, you've accepted a comment as a solution.  Is everything ok now?
I thought I submitted this must have not

Fixed uninstalled version 10 and installed 15
Thanks for you expert assistance
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Again thanks for your expertise