Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Question
Thursday, July 25, 2019 12:26 PM
The type 'Microsoft.Reporting.WebForms.ReportViewer' exists in both 'C:\Windows\assembly\GAC_MSIL\Microsoft.ReportViewer.WebForms\9.0.0.0__b03f5f7f11d50a3a\Microsoft.ReportViewer.WebForms.dll' and 'C:\Windows\assembly\GAC_MSIL\Microsoft.ReportViewer.WebForms\10.0.0.0__b03f5f7f11d50a3a\Microsoft.ReportViewer.WebForms.dll
All replies (1)
Friday, July 26, 2019 1:31 AM
Hi SahilBorse,
The web.config file automatically generated references for both these two dll with different versions.
Please try to remove one of them, for example,
Remove below in your web.config file:
<add namespace="Microsoft.Reporting.WebForms" assembly="Microsoft.ReportViewer.WebForms, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" tagPrefix="Reporting"/>
Best Regard,
Yang Shen