This is a known issue (unfortunately, no KB created yet as I just duplicated and reported the issue to QA (tracking number; ADAPT01506220) two days ago).
The issue appears only on computers with side by side install of .NET 2008 and .NET 2010.
Follow these steps to resolve the issue:
1) Remove the following from the web.config:
<add assembly="CrystalDecisions.Shared, Version=10.5.3700.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/>
<add assembly="CrystalDecisions.ReportSource, Version=10.5.3700.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/>
<add assembly="CrystalDecisions.CrystalReports.Engine, Version=10.5.3700.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/>
2) Open the form that has the viewer on it, go to code behind and replace this:
<%@ Register assembly="CrystalDecisions.Web, Version=10.5.3700.0, Culture=neutral, PublicKeyToken=692fbea5521e1304" namespace="CrystalDecisions.Web"; tagprefix="CR" %>
with:
<%@ Register assembly="CrystalDecisions.Web, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304" namespace="CrystalDecisions.Web"; tagprefix="CR" %>
3) Go to the Properties of the project, select references and remove crystaldecisions.web of version 10.5.3700
4) In the Properties, click the Add button and then the .NET tab and select crystaldecisions.web version 13.0.2000.0
5) Recompile.
Distribute the CRVS2010 runtime.
MSM:
http://downloads.businessobjects.com/akdlm/cr4vs2010/CRforVS_mergemodules_13_0.zip
32 bit MSI:
http://downloads.businessobjects.com/akdlm/cr4vs2010/CRforVS_redist_install_32bit_13_0.zip
64 bit MSI:
http://downloads.businessobjects.com/akdlm/cr4vs2010/CRforVS_redist_install_64bit_13_0.zip
BTW. the same issue exists with WIN apps. The fix here is much easier; Remove all CR 10.5.3700 references from the project and add references to 13.0.2000 assemblies. (tracking number; ADAPT01506310).
Thanks & Regards
JENI
Cibin, if this helps please login to Mark As Answer. | Alert Moderator