Click here to Skip to main content
15,867,568 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Can any body please tell me reason why I'm getting this error.

The type 'CrystalDecisions.Web.CrystalReportViewer' exists in both 'c:\Windows\assembly\GAC_MSIL\CrystalDecisions.Web\12.0.2000.0__692fbea5521e1304\CrystalDecisions.Web.dll' and 'c:\Windows\assembly\GAC\CrystalDecisions.Web\12.0.1100.0__692fbea5521e1304\CrystalDecisions.Web.dll'
Posted

1 solution

You added those DLL files:
  • c:\Windows\assembly\GAC_MSIL\CrystalDecisions.Web\12.0.2000.0__692fbea5521e1304\CrystalDecisions.Web.dll
  • c:\Windows\assembly\GAC\CrystalDecisions.Web\12.0.1100.0__692fbea5521e1304\CrystalDecisions.Web.dll
to your project.
The CrystalDecisions.Web.CrystalReportViewer class exists in both files.
You can try to remove one of them from your project (don't delete one of them from your hard disk!).
 
Share this answer
 
Comments
lovejaygore 14-Dec-12 5:52am    
How to remove CrystalDecisions.Web.CrystalReportViewer class from project in web based.
Thomas Daniels 14-Dec-12 5:54am    
You need to remove one of the two references to one of the two DLLs that you added to your project.

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