Skip to Content
0
Former Member
Jun 04, 2010 at 02:36 AM

CRVS2010 Beta - Error deploying a CR within an ASP.NET app using VS 2010

29 Views

I am getting the following error:

Compiler Error Message: BC32206: *The project currently contains references to more than one version of CrystalDecisions.Web, a direct reference to version 12.0.2000.0 and an indirect reference (through 'rpt_UW.CrystalReportSource1') to version 14.0.2000.0. Change the direct reference to use version 14.0.2000.0 (or higher) of CrystalDecisions.Web.

I added the code exactly as instructed by SAP (in on-line documentation), as follows, and it works fine on my laptop when viewed in IIS, but not when deployed to the production server:

<configuration>

<runtime>

<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">

<dependentAssembly>

<assemblyIdentity name="CrystalDecisions.CrystalReports.Engine" publicKeyToken="692fbea5521e1304" culture=""/>

<bindingRedirect oldVersion="14.0.2000.0" newVersion="12.0.2000.0"/>

</dependentAssembly>

<dependentAssembly>

<assemblyIdentity name="CrystalDecisions.Shared" publicKeyToken="692fbea5521e1304" culture=""/>

<bindingRedirect oldVersion="14.0.2000.0" newVersion="12.0.2000.0"/>

</dependentAssembly>

<dependentAssembly>

<assemblyIdentity name="CrystalDecisions.ReportSource" publicKeyToken="692fbea5521e1304" culture=""/>

<bindingRedirect oldVersion="14.0.2000.0" newVersion="12.0.2000.0"/>

</dependentAssembly>

<dependentAssembly>

<assemblyIdentity name="CrystalDecisions.Windows.Forms" publicKeyToken="692fbea5521e1304" culture=""/>

<bindingRedirect oldVersion="14.0.2000.0" newVersion="12.0.2000.0"/>

</dependentAssembly>

<dependentAssembly>

<assemblyIdentity name="CrystalDecisions.Enterprise.Framework" publicKeyToken="692fbea5521e1304" culture=""/>

<bindingRedirect oldVersion="14.0.2000.0" newVersion="12.0.1100.0"/>

</dependentAssembly>

<dependentAssembly>

<assemblyIdentity name="CrystalDecisions.Enterprise.InfoStore" publicKeyToken="692fbea5521e1304" culture=""/>

<bindingRedirect oldVersion="14.0.2000.0" newVersion="12.0.1100.0"/>

</dependentAssembly>

<dependentAssembly>

<assemblyIdentity name="CrystalDecisions.ReportAppServer.ClientDoc" publicKeyToken="692fbea5521e1304" culture=""/>

<bindingRedirect oldVersion="14.0.2000.0" newVersion="12.0.1100.0"/>

</dependentAssembly>

<dependentAssembly>

<assemblyIdentity name="CrystalDecisions.Web" publicKeyToken="692fbea5521e1304" culture=""/>

<bindingRedirect oldVersion="14.0.2000.0" newVersion="12.0.2000.0"/>

</dependentAssembly>

</assemblyBinding>

</runtime>

Subject modified as per the sticky thread at the top of this forum:

[Crystal Reports for Visual Studio 2010 Beta - read before posting|Crystal Reports for Visual Studio 2010 Beta - read before posting;

Edited by: Ludek Uher on Jun 4, 2010 12:21 PM