Click here to Skip to main content
15,887,027 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Error 6 The type 'CrystalDecisions.Web.CrystalReportViewer' exists in both 'c:\Windows\assembly\GAC_MSIL\CrystalDecisions.Web\13.0.2000.0__692fbea5521e1304\CrystalDecisions.Web.dll' and 'c:\Windows\assembly\GAC_MSIL\CrystalDecisions.Web\10.5.3700.0__692fbea5521e1304\CrystalDecisions.Web.dll' C:\Users\green-ed\Documents\Visual Studio 2010\WebSites\WebSite7\Default.aspx 16


Error 7 The type 'CrystalDecisions.Web.CrystalReportViewer' exists in both 'c:\Windows\assembly\GAC_MSIL\CrystalDecisions.Web\13.0.2000.0__692fbea5521e1304\CrystalDecisions.Web.dll' and 'c:\Windows\assembly\GAC_MSIL\CrystalDecisions.Web\10.5.3700.0__692fbea5521e1304\CrystalDecisions.Web.dll' c:\Users\green-ed\AppData\Local\Temp\Temporary ASP.NET Files\website7\9b2b0550\3630d10c\App_Web_34jhxvyw.0.cs 236


Please Help me

Tanks in advance
Posted

I think you are repeating the question....
I replied to your earlier post.
You have two entries in your web.config file for Crystal Report Engine and both are having different versions. If you are using VS2010, keep the entry with 13.0 else keep the 10.5 one.
 
Share this answer
 
In bin folder there is CrystalDecisions.Web.dll delete that file and try.

Or

Look at the Register Assembly directive on the page where your CrystalReportsViewer is. My guess is that your directive is calling for the version that is native to VS2005. You can either remove the CrystalReportsViewer and the directive and then add the CrystalReportsView back in via VS2008 and it will insert the approprate directive back into your page, or you could just make sure the page is only calling for the VS2008 assembly.


VB
<%@ Register Assembly="CrystalDecisions.Web, Version=10.5.3700.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"
Namespace="CrystalDecisions.Web" TagPrefix="CR" %>
 
Share this answer
 
v2
SQL
If you are running Windows 8 , 64 bit machine and installed sap crystal report latest version,

Please remove the file named "CrystalDecisions.Web " from the folder " C:\Program Files (x86)\Business Objects\Common\2.8\managed. "
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900