I get the following error when trying to test an update to my website reports:
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.
Compiler Error Message: CS0433: The type 'Telerik.ReportViewer.WebForms.ReportViewer' exists in both 'c:\Users\xxxxxx\AppData\Local\Temp\Temporary ASP.NET Files\root\1d706933\5e16d679\assembly\dl3\59214220\00d64b25_5a7dd001\Telerik.ReportViewer.WebForms.DLL' and 'c:\Windows\Microsoft.NET\assembly\GAC_MSIL\Telerik.ReportViewer.WebForms\v4.0_9.1.15.624__a9d7983dfcc261be\Telerik.ReportViewer.WebForms.dll'
Source Error:
Line 410:
Line 411: [System.Diagnostics.DebuggerNonUserCodeAttribute()]
Line 412:
private global::Telerik.ReportViewer.WebForms.ReportViewer @__BuildControlrptViewer() {
Line 413:
global
::Telerik.ReportViewer.WebForms.ReportViewer @__ctrl;
Line 414:
Source File: c:\Users\xxxxxxx\AppData\Local\Temp\Temporary ASP.NET Files\root\1d706933\5e16d679\App_Web_receivingappointmentdaily.aspx.cdcab7d2.gq-0gggm.0.cs Line: 412
It says that line 412 is the problem. I have tried removing the second file, the one in the AppData folder, but it comes back when I run the site in debug.