I have an error trying to see a report in an ASP.Net application, the project is already compiled and published on a server.
I have all the necessary DLL in the Bin of my folder, and also in the web.config .
Error:
Compilation Error (Compile Error)
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.
Description (in Spanish): An error occurred during the compilation of a resource necessary to address this request. Review the following specific error details and modify the source code appropriately.
Compiler Error Message: CS0433: The type "Microsoft.Reporting.WebForms.ReportViewer" exist in both (The ReportViewer type exists in both files):
C: /Windows/assembly/GAC_MSIL/Microsoft.ReportViewer.WebForms/9.0.0.0__B03F5F7F11D50A3A/Microsoft.ReportViewer.WebForms.dll
C: /Windows/assembly/GAC_MSIL/Microsoft.ReportViewer.WebForms/11.0.0.0__89845DCD8080CC91/Microsoft.ReportViewer.WebForms.dll
Source Error:
Line 12:
<div>
Line 13:<asp:ScriptManager ID="script1" runat="server" >EnablePageMethods="true"></asp:ScriptManager>
Line 14:<rsweb:ReportViewer ID="rptDetalles" runat="Server">
Line 15:<LocalReport ReportPath="rptauditoriaDetalles.rdlc"></LocalReport>
Line 16:</rsweb:ReportViewer>