CS0433: The type ‘CrystalDecisions.Web.CrystalReportViewer’ exists in both

asp.netcrystal-reports

I am getting the following error while running crystal report

CS0433: The type 'CrystalDecisions.Web.CrystalReportViewer' exists in
both
'c:\windows\assembly\GAC_MSIL\CrystalDecisions.Web\10.5.3700.0__692fbea5521e1304\CrystalDecisions.Web.dll'
and 'c:\windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
Files\root\f8ac550c\d919c1f5\assembly\dl3\21892670\002d6cd3_f2bfc501\CrystalDecisions.Web.DLL

I am getting the above error after converting from framework 2.0 to 3.5. If I am creating new web application, I am not getting any error. I am getting error only for the converted application.

Best Answer

Atlast I found.. The Problem is, In bin folder there is CrystalDecisions.Web.dll of version 10.2.51014.0 while i am adding reference i am adding 10.5.3700.0. So i have deleted dll from bin folder..Now Its working fine..

Thanks