Tags:
Microsoft, MS Visual Studio 2008, Visual Studio 2008
1. We migrated our application from VS2005 to VS2008.
2. But when hosted the application on Server, it gave error:
Error: Could not load file or assembly " crystal decisions.crystal reports.engine, version = 10.2.3600.0, culture = Neutral Public Key token=692fbea5521e1304" or one of its dependencies. The system cannot find the file specified.
3. We found the box was not having CR redistributable for VS2005.
4. We installed redistributable.
5. After that we did not get Could not load file or assembly error.
6. But we started getting error : 'CrystalReportViewer' is ambiguous in the namespace 'CrystalDecisions.Web'. C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\fcs_web\f38eb903\ee3243aa\App_Web_ls0de2sh.10.vb 213
7. We removed all old reference and added new references for Crystal report control.